Chromium Code Reviews
DescriptionFix SubtreeLayoutScope not to schedule relayout
This patch fixes SubtreeLayoutScope::setNeedsLayout() and
setChildNeedsLayout() not to schedule relayout when they call
markContainerChainForLayout().
The signature of markContainerChainForLayout() allows to schedule
relayout even when SubtreeLayoutScope exists. To not allow scheduling
relayout while we're in layout, this patch changes the signature.
BUG=590620
Review URL: https://codereview.chromium.org/1755543002
Cr-Commit-Position: refs/heads/master@{#378639}
(cherry picked from commit 6e396c50a4630c1bd065aaf19244cf8c1fdcd6d1)
Committed: https://chromium.googlesource.com/chromium/src/+/1fb49bb47cbcb17f44198fc2a906928adf4dbaff
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||