Bug 1355540, use SegmentedVector for pending links to avoid slow hashtable lookups in hot codepaths, r=bz
This commit is contained in:
@@ -181,6 +181,12 @@ public:
|
||||
GetHref(aResult);
|
||||
}
|
||||
|
||||
virtual void NodeInfoChanged(nsIDocument* aOldDoc) final override
|
||||
{
|
||||
ClearHasPendingLinkUpdate();
|
||||
nsGenericHTMLElement::NodeInfoChanged(aOldDoc);
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual ~HTMLAreaElement();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user