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

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

Issue 2618803002: Use master StyleEngine to evaluate MQ in html imports. (Closed)
Patch Set: preferred sheet change broke a test Created 3 years, 11 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.h
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h
index 6bc62016917748a42b2ec8830f76fb7d59382fc3..85f503553cfb31130026b946db2b60699395f28e 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
@@ -120,7 +120,8 @@ class CORE_EXPORT StyleEngine final
RuleSet* ruleSetForSheet(CSSStyleSheet&);
void mediaQueryAffectingValueChanged();
- void updateStyleSheetsInImport(DocumentStyleSheetCollector& parentCollector);
+ void updateStyleSheetsInImport(StyleEngine& masterEngine,
+ DocumentStyleSheetCollector& parentCollector);
void updateActiveStyle();
void markAllTreeScopesDirty() { m_allTreeScopesDirty = true; }

Powered by Google App Engine
This is Rietveld 408576698