Bug 1355540, use SegmentedVector for pending links to avoid slow hashtable lookups in hot codepaths, r=bz

This commit is contained in:
Olli Pettay
2017-04-15 18:55:05 +03:00
parent ddf0cda8da
commit 1a7d96f92a
17 changed files with 101 additions and 49 deletions

View File

@@ -181,6 +181,12 @@ public:
GetHref(aResult);
}
virtual void NodeInfoChanged(nsIDocument* aOldDoc) final override
{
ClearHasPendingLinkUpdate();
nsGenericHTMLElement::NodeInfoChanged(aOldDoc);
}
protected:
virtual ~HTMLAreaElement();