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

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.cpp

Issue 1684193003: markDocumentDirty() before styleResolverChanged(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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: third_party/WebKit/Source/core/dom/StyleEngine.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
index 65d35a495c2bea315b815a173f321f985edba6f6..b43eaed76c36ce30fae05fc568703f08ab850812 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
@@ -156,8 +156,8 @@ void StyleEngine::resetCSSFeatureFlags(const RuleFeatureSet& features)
void StyleEngine::injectAuthorSheet(PassRefPtrWillBeRawPtr<StyleSheetContents> authorSheet)
{
m_injectedAuthorStyleSheets.append(CSSStyleSheet::create(authorSheet, m_document));
- document().addedStyleSheet(m_injectedAuthorStyleSheets.last().get());
markDocumentDirty();
+ document().addedStyleSheet(m_injectedAuthorStyleSheets.last().get());
}
void StyleEngine::addPendingSheet()
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.h ('k') | third_party/WebKit/Source/core/dom/StyleEngineTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698