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

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

Issue 66383005: Remove the concept of user stylesheets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 15500c05e3f1044605f35c5b8c068109bd7d8ba3..d7b51309516b26f7734161a9793c8392d3d5f921 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -626,8 +626,7 @@ void Document::setCompatibilityMode(CompatibilityMode mode)
m_compatibilityMode = mode;
selectorQueryCache().invalidate();
if (inQuirksMode() != wasInQuirksMode) {
- // All user stylesheets have to reparse using the different mode.
- m_styleEngine->clearPageUserSheet();
+ // All injected stylesheets have to reparse using the different mode.
m_styleEngine->invalidateInjectedStyleSheetCache();
}
}

Powered by Google App Engine
This is Rietveld 408576698