DescriptionUse setNeedsActiveStyleUpdate instead of markTreeScopeDirty.
setNeedsActiveStyleUpdate checks if the document is active before
calling markTreeScopeDirty. This avoids marking shadow root tree scopes
dirty for non-active documents which caused a DCHECK fail in
markTreeScopeDirty.
R=esprehn@chromium.org
BUG=676441
Review-Url: https://codereview.chromium.org/2611053004
Cr-Commit-Position: refs/heads/master@{#442028}
Committed: https://chromium.googlesource.com/chromium/src/+/9ea74b3f541f6850a48f6a2b4d08f3d4de95dcf4
Patch Set 1 #
Messages
Total messages: 15 (11 generated)
|