commit | b02ae6f68c467e8fbf55f9f0dbe0d45532c95a67 | [log] [tgz] |
---|---|---|
author | akling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Nov 16 15:21:40 2012 +0000 |
committer | akling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Nov 16 15:21:40 2012 +0000 |
tree | 3e0968bbcb9c04952f3a2263dd3b2e0efa7c7290 | |
parent | 452d3983fc7e88c276e6c5149d85b2e3bb7b735f [diff] |
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