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

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

Issue 2546393002: Make setNeedsActiveStyleUpdate mark treescope dirty only. (Closed)
Patch Set: 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 008236fb15b0e746e80cddec758bda3025f2cfdc..d0ba4e0b8e78979c77e6736188ac8e3ae7275e2e 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&);
void removeStyleSheetCandidateNode(Node&, TreeScope&);

Powered by Google App Engine
This is Rietveld 408576698