commit | 757dcc189067d644ae24bcb6f1c86354bbc7774e | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Mon Dec 10 06:01:36 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 10 06:01:36 2018 |
tree | 13a2e2e3048e939dba4e4fe7bb1242132d44dc6c | |
parent | 79f71470c8ee2b69a35fe8192eb01b8b3d5ca02b [diff] |
[LayoutNG] Stop clearning NeedsLayout on block in MarkLineBoxesDirty This patch stops clearning NeedsLayout on the LayoutBLockFlow in MarkLineBoxesDirty. MarkLineBoxesDirty turns NeedsLayout of inline boxes and text into IsDirty on existing line boxes, to determine which line boxes are dirty and which are reusable. Since it marks line boxes as dirty, it's safe to clear NeedsLayout on objects within the line box, but it's not proper to clear NeedsLayout on LayoutBlockFlow. When layout is done, it will be cleared, so this was just redundant. Bug: 904291 Change-Id: I1f9e767c6d7a3ec5fc9ba6c2b4090581ece5123b Reviewed-on: https://chromium-review.googlesource.com/c/1366472 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Aleks Totic <atotic@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#615053}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .