Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M102] Fix a regression that CascadeLayerMap is not rebuilt
A previous patch [1] introduced a regression that CascadeLayerMap is not rebuilt if (1) previously there are no layers, and (2) layers are added. This patch fixes it by making sure that CascadeLayerMap is always rebuilt if there are layers in the new active style sheets, including two cases (which are not necessarily disjoint): 1. Before updating active style, there are already layers 2. There are layers in the changed rule sets [1] https://chromium-review.googlesource.com/c/chromium/src/+/3572544 (cherry picked from commit 523fd78) (cherry picked from commit 6e52b8e) Fixed: 1326791 Change-Id: I05d2aa9dbc9b69d6fbf26abd9a74f27fc3c8aec7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3656429 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Original-Original-Commit-Position: refs/heads/main@{#1005842} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3659435 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Original-Commit-Position: refs/branch-heads/5060@{#170} Cr-Original-Branched-From: b83393d-refs/heads/main@{#1002911} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3683895 Cr-Commit-Position: refs/branch-heads/5005@{#1081} Cr-Branched-From: 5b4d945-refs/heads/main@{#992738}
- Loading branch information
1 parent
93d466f
commit 2eabf9b
Showing
3 changed files
with
53 additions
and
4 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