commit | f831fc79824c0281cdd4f6a90d7bc92dbadd44b0 | [log] [tgz] |
---|---|---|
author | rune <rune@opera.com> | Wed Jan 04 11:54:50 2017 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jan 04 11:57:33 2017 |
tree | b651b3a2964aaa4e4f25ea355c63301da0cc3c8f | |
parent | de098e0d9aa37e1db404b86ba5bfb1992008719a [diff] |
Avoid unnecessary updateActiveStyle comparing shadow styles. Found while checking performance for issue 603621. Style sharing is done during style recalc at which point we know that the active style is up-to-date. Instead of using the API for document.styleSheets, compare active stylesheets in ScopedStyleResolver directly. BUG=603621 Review-Url: https://codereview.chromium.org/2610513003 Cr-Commit-Position: refs/heads/master@{#441357}