DescriptionRemoved unnecessary rule feature reset when no ScopedStyleResolver.
Resetting rule features when a shadow tree did not contain any
stylesheets, and hence didn't have a ScopedStyleResolver, caused a
performance regression in the select-single-remove performance test.
UA shadow trees typically don't have any stylesheets.
This is a regression from [1].
[1] https://codereview.chromium.org/2443933002
R=meade@chromium.org
BUG=659535
TEST=PerformanceTests/DOM/select-single-remove.html
Committed: https://crrev.com/72f115c8f71b04929130f9a71ff9f217cb8cbc4f
Cr-Commit-Position: refs/heads/master@{#427949}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|