RESOLVED FIXED 74261
Micro-optimize CSSStyleSelector::findSiblingForStyleSharing().
https://bugs.webkit.org/show_bug.cgi?id=74261
Summary Micro-optimize CSSStyleSelector::findSiblingForStyleSharing().
Andreas Kling
Reported 2011-12-11 17:51:59 PST
We could move the isStyledElement() check from canShareStyleWithElement() to the loop in findSiblingForStyleSharing().
Attachments
Proposed patch (4.43 KB, patch)
2011-12-11 18:04 PST, Andreas Kling
koivisto: review+
Andreas Kling
Comment 1 2011-12-11 18:04:44 PST
Created attachment 118720 [details] Proposed patch
Andreas Kling
Comment 2 2011-12-11 19:43:37 PST
Note You need to log in before you can comment on or make changes to this bug.