forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, counter style updates is a phase in UpdateActiveStyles. This patch moves it out as a standalone phase of UpdateStyleAndLayoutTree, so that we update counter styles only when needed. This patch also adds MarkCounterStylesNeedUpdate() to indicate whether counter style updates are needed. Note: After refactoring, the framework of counter style updates looks almost identical to font updates. This is intentional. We will try to unify them in the future. Bug: 687225 Change-Id: If07de2878ae5faa6800644a967029a569bef566a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2639535 Reviewed-by: Rune Lillesveen <[email protected]> Reviewed-by: Anders Hartvoll Ruud <[email protected]> Commit-Queue: Xiaocheng Hu <[email protected]> Cr-Commit-Position: refs/heads/master@{#846203}
- Loading branch information
1 parent
717a503
commit d2adbc5
Showing
5 changed files
with
44 additions
and
10 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