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

Unified Diff: sky/engine/core/dom/StyleSheetCollection.h

Issue 836383005: Don't walk treescopes in updateActiveStyleSheets until the resolver exists. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove comments. Created 5 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
« no previous file with comments | « sky/engine/core/dom/StyleEngine.cpp ('k') | sky/engine/core/dom/StyleSheetCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/StyleSheetCollection.h
diff --git a/sky/engine/core/dom/StyleSheetCollection.h b/sky/engine/core/dom/StyleSheetCollection.h
index a678582a409f79bbbcf78c9ea90f86c4fbcc81d4..7a10f95ae7d64cfeb257122b9bb492bee79d711a 100644
--- a/sky/engine/core/dom/StyleSheetCollection.h
+++ b/sky/engine/core/dom/StyleSheetCollection.h
@@ -39,7 +39,7 @@ namespace blink {
class CSSStyleSheet;
class ContainerNode;
class HTMLStyleElement;
-class StyleEngine;
+class StyleResolver;
class TreeScope;
class StyleSheetCollection {
@@ -58,7 +58,7 @@ public:
void addStyleSheetCandidateNode(HTMLStyleElement&);
void removeStyleSheetCandidateNode(HTMLStyleElement&);
- void updateActiveStyleSheets(StyleEngine*);
+ void updateActiveStyleSheets(StyleResolver&);
private:
explicit StyleSheetCollection(TreeScope&);
« no previous file with comments | « sky/engine/core/dom/StyleEngine.cpp ('k') | sky/engine/core/dom/StyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698