|
Clear matched properties cache for theme color changes.
A theme dependent color is represented by a keyword in CSS and the matched
property value won't change when the theme color changes. That lead to a
cache hit in MatchPropertiesCache so that a style recalc after changing the
theme wouldn't have an effect. So, we need to invalidate the cache on such
changes.
Changed method name and api layering to contain knowledge about necessary
changes in the StyleEngine.
BUG= 441144
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187517
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+116 lines, -4 lines) |
Patch |
|
M |
Source/core/core.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/StyleEngine.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/StyleEngine.cpp
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/page/Page.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/page/Page.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderTheme.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
A |
Source/core/rendering/RenderThemeTest.cpp
|
View
|
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (4 generated)
|