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

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

Issue 774953002: Always Reconstruct when stylesheets change. (Closed) Base URL: git@github.com:domokit/mojo.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 | « sky/engine/core/dom/StyleElement.cpp ('k') | sky/engine/core/dom/StyleEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/StyleEngine.h
diff --git a/sky/engine/core/dom/StyleEngine.h b/sky/engine/core/dom/StyleEngine.h
index d1c905c20a812971895751ecbda19b7b45e57dcf..ffd0486fde08d19bcda1e4171015f550df76a57c 100644
--- a/sky/engine/core/dom/StyleEngine.h
+++ b/sky/engine/core/dom/StyleEngine.h
@@ -83,7 +83,7 @@ public:
void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeScope&);
void clearMediaQueryRuleSetStyleSheets();
- void updateActiveStyleSheets(StyleResolverUpdateMode);
+ void updateActiveStyleSheets();
bool ignoringPendingStylesheets() const { return m_ignorePendingStylesheets; }
@@ -122,7 +122,7 @@ public:
void updateGenericFontFamilySettings();
void didDetach();
- void resolverChanged(StyleResolverUpdateMode);
+ void resolverChanged();
unsigned resolverAccessCount() const;
void markDocumentDirty();
@@ -144,8 +144,6 @@ private:
TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&);
TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&);
- bool shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMode) const;
- bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode) const;
void markTreeScopeDirty(TreeScope&);
« no previous file with comments | « sky/engine/core/dom/StyleElement.cpp ('k') | sky/engine/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698