Short-circuit Element::hasEquivalentAttributes() if elements share attribute data.
<http://webkit.org/b/102498>

Reviewed by Antti Koivisto.

Add a fast path to hasEquivalentAttributes() that checks if both elements are using
the same ElementAttributeData.

* dom/Element.cpp:
(WebCore::Element::hasEquivalentAttributes):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed