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

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

Issue 2546393002: Make setNeedsActiveStyleUpdate mark treescope dirty only. (Closed)
Patch Set: Rebased Created 4 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
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 0671127265fba7fc7f37d1a4b4acf8e8d9fd5da7..9f29506644bb36c088b56ee81e8f4018895a98f8 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
@@ -61,7 +61,6 @@ class RuleFeatureSet;
class ShadowTreeStyleSheetCollection;
class StyleRuleFontFace;
class StyleRuleUsageTracker;
-class StyleSheet;
class StyleSheetContents;
class ViewportStyleResolver;
@@ -103,7 +102,7 @@ class CORE_EXPORT StyleEngine final
const HeapVector<Member<CSSStyleSheet>> activeStyleSheetsForInspector() const;
bool needsActiveStyleUpdate() const;
- void setNeedsActiveStyleUpdate(StyleSheet*, StyleResolverUpdateMode);
+ void setNeedsActiveStyleUpdate(TreeScope&);
void addStyleSheetCandidateNode(Node&);
void removeStyleSheetCandidateNode(Node&, ContainerNode& insertionPoint);
void modifiedStyleSheetCandidateNode(Node&);
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleElement.cpp ('k') | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698