angler-fishThe Vulnerability History Project

Fix 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}
    
commit 6e396c50a4630c1bd065aaf19244cf8c1fdcd6d1
-2
-25
-14
+3 -6
expand_less