DescriptionRe-collect rule features for watched selectors.
Instead of nuking the StyleResolver and re-collecting all stylesheets,
clear the current rule features on StyleResolver and mark them for
re-collection. We need to re-collect because the rule features on
StyleResolver are a union of the rule features from stylesheets and the
watched selectors from the declarativeContent css api for extensions.
A bonus is that this change avoids a synchronous active stylesheets
update.
R=dstockwell@chromium.org
BUG=567021
Committed: https://crrev.com/440a6873196cecc4f18b7b7665694ab34dd2d2a7
Cr-Commit-Position: refs/heads/master@{#379529}
Patch Set 1 #Messages
Total messages: 12 (4 generated)
|