Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: Source/core/dom/Document.cpp

Issue 804873003: Clear matched properties cache for theme color changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/StyleEngine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index b92a8112c0063ca79affb5a4686305a1ec804699..f0646e00938b2c9b97d9f1dede4518d6ef68fac9 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -5736,6 +5736,14 @@ void Document::invalidateNodeListCaches(const QualifiedName* attrName)
list->invalidateCacheForAttribute(attrName);
}
+void Document::platformColorsChanged()
+{
+ if (!isActive())
+ return;
+
+ styleEngine()->platformColorsChanged();
+}
+
void Document::clearWeakMembers(Visitor* visitor)
{
if (m_axObjectCache)
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/StyleEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698