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

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

Issue 2394353003: Apply RuleSet changes for active stylesheet changes. (Closed)
Patch Set: Created 4 years, 2 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 132c3c1796aa30345f3a844ded4cbf69dee2a157..409ec046e19a0cc45a3fb3f07598883d3a8cbf2b 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
@@ -211,9 +211,8 @@ class CORE_EXPORT StyleEngine final
Element& removedElement,
Element& afterElement);
void scheduleNthPseudoInvalidations(ContainerNode&);
- void scheduleInvalidationsForRuleSets(
- TreeScope&,
- const HeapVector<Member<const RuleSet>>&);
+ void scheduleInvalidationsForRuleSets(TreeScope&,
+ const HeapVector<Member<RuleSet>>&);
unsigned styleForElementCount() const { return m_styleForElementCount; }
void incStyleForElementCount() { m_styleForElementCount++; }
@@ -271,7 +270,7 @@ class CORE_EXPORT StyleEngine final
bool shouldSkipInvalidationFor(const Element&) const;
void scheduleRuleSetInvalidationsForElement(
Element&,
- const HeapVector<Member<const RuleSet>>&);
+ const HeapVector<Member<RuleSet>>&);
void invalidateSlottedElements(HTMLSlotElement&);
Member<Document> m_document;

Powered by Google App Engine
This is Rietveld 408576698