Make ComputeMinMaxSizes() should not clear LayoutObject::NeedsLayout() flag
This patch changes |NGLineBreaker| not to clear |LayoutObject:: NeedsLayout()| when it is called from |ComputeMinMaxSizes()|. Background: The issue was caused by finding |NGInlineItem| from previous |NGFragmentItem| because of |NGFragmenItems:: TryReuseFragmentsFromCache()| failed to make dirty for |LayoutText| because of |ComputeMinMaxSizes()| clears |NeedsLayout()| flag before actual layout. Bug: 1116713 Change-Id: Ia3b08ae7295ccf62bbe38a1ed8d3cd6f6209faa5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2367259 Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#800499}
Showing
Please register or sign in to comment