Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Style sharing: Remove O(n^2) presentation attribute checks that never…
… found anything anyway. <http://webkit.org/b/103019> Reviewed by Ojan Vafai. Rely on the global presentation attribute cache and remove the slow-path code that compares the full StylePropertySets for attribute-derived style. There are virtually no cases of logically equivalent presentation attribute styles that don't already share the same memory address. (Zero hits on Apple and Chromium PLT content.) * css/StyleResolver.cpp: (WebCore::haveIdenticalStyleAffectingAttributes): (WebCore::StyleResolver::canShareStyleWithElement): Canonical link: https://commits.webkit.org/121203@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@135542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
19 additions
and 37 deletions.
- +16 −0 Source/WebCore/ChangeLog
- +3 −37 Source/WebCore/css/StyleResolver.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters