mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 620181 crash [@ nsXBLPrototypeBinding::LocateInstance] if the while loop condition becomes false
r=neil
This commit is contained in:
parent
448d7c770e
commit
2a923ad547
@ -896,6 +896,10 @@ nsXBLPrototypeBinding::LocateInstance(nsIContent* aBoundElement,
|
||||
binding = binding->GetBaseBinding();
|
||||
}
|
||||
|
||||
NS_ABORT_IF_FALSE(binding, "Bug 620181 this is unexpected");
|
||||
if (!binding)
|
||||
return nsnull;
|
||||
|
||||
nsInsertionPointList* points = nsnull;
|
||||
if (anonContent == copyParent)
|
||||
binding->GetInsertionPointsFor(aBoundElement, &points);
|
||||
|
Loading…
Reference in New Issue
Block a user