forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move more of style update into StyleEngine.
This is mostly about moving code from Document into StyleEngine. The other change is relying on the StyleTraversalRoots for deciding if we need to do style invalidation, recalc, or layout tree rebuilding instead of the dirty flags on the Document or documentElement(). It is a simpler way of doing the check since we are no longer marking the Document with ChildNeedsReattachLayoutTree() and we will not mark the Document with ChildNeedsStyleRecalc() when FlatTreeStyleRecalc is enabled. Bug: 972752 Change-Id: I68a5dd1ffaa4f4f844a7641c143c301ce7417687 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1840832 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#703279}
- Loading branch information
Rune Lillesveen
authored and
Commit Bot
committed
Oct 7, 2019
1 parent
cfe7900
commit 9490574
Showing
6 changed files
with
115 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters