DescriptionMake setNeedsActiveStyleUpdate mark treescope dirty only.
Pass the treeScope instead of a stylesheet pointer and remove the
synchronous resolverChanged() call. Instead add the resolveChanged()
calls where currently necessary and mark them for removal.
This makes the setNeedsActiveStyleUpdate implementation like what we
want to end up with [1]. I've done it this way to make the following
CLs easier to review.
Also, setNeedsActiveStyleUpdate calls are removed where we call
removeStyleSheetCandidateNode() since that method already marks the
tree-scope dirty.
[1] https://codereview.chromium.org/1913833002/
R=meade@chromium.org
BUG=567021
Committed: https://crrev.com/11bf99aa6426685ed8bf15b98a2680b02a841455
Cr-Commit-Position: refs/heads/master@{#437212}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Rebased and removed unnecessary calls to setNeedsActiveStyleUpdate #Patch Set 3 : Rebased #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 24 (17 generated)
|