commit | bebc939079682c17db1cbad8b235cabfa6593f7e | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Mon May 20 17:15:49 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 20 17:15:49 2019 |
tree | 17bf78e3c8aa52c504435d4ba9dc7b9a1752ab56 | |
parent | 78ef08ddbb33e4343d85d97a23fcc6783d222e3a [diff] |
[LayoutNG] Unify LayoutNG invalidation logic to |LayoutObjectChildList| This patch unifies the same logic separated in two places into one. Originally, the logic needed for new LayoutObjects in the tree is put into |InsertedIntoTree()|. However, some logic are added to |LayoutObjectChildList| too because they are needed to run regardless of |notify_layout_object|, which is an optimization when some of existing notifications can be skipped for in-tree moves. As it turned out that all LayoutNG logic are needed regardless of |notify_layout_object|, this patch moves all of them to |LayoutObjectChildList|. The |SplitFlow()| case was found in crbug.com/964619. Bug: 964854 Change-Id: I777b05fa2355e301ceb713b49d83734546e5ecf7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617055 Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#661378}
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 .