Bug 1355540, use SegmentedVector for pending links to avoid slow hashtable lookups in hot codepaths, r=bz
This commit is contained in:
@@ -218,8 +218,6 @@ HTMLLinkElement::UnbindFromTree(bool aDeep, bool aNullParent)
|
||||
ShadowRoot* oldShadowRoot = GetBindingParent() ?
|
||||
GetBindingParent()->GetShadowRoot() : nullptr;
|
||||
|
||||
OwnerDoc()->UnregisterPendingLinkUpdate(this);
|
||||
|
||||
CreateAndDispatchEvent(oldDoc, NS_LITERAL_STRING("DOMLinkRemoved"));
|
||||
nsGenericHTMLElement::UnbindFromTree(aDeep, aNullParent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user