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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
index 0f028a7cb1d32cb7c4f797b6acb2aca4262d3bb4..a3c3a07a7f6ca8bd8e8f581d4d2f3993b168899a 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
@@ -815,7 +815,7 @@ void StyleEngine::scheduleNthPseudoInvalidations(ContainerNode& nthParent) {
void StyleEngine::scheduleRuleSetInvalidationsForElement(
Element& element,
- const HeapVector<Member<const RuleSet>>& ruleSets) {
+ const HeapVector<Member<RuleSet>>& ruleSets) {
AtomicString id;
const SpaceSplitString* classNames = nullptr;
@@ -858,7 +858,7 @@ void StyleEngine::invalidateSlottedElements(HTMLSlotElement& slot) {
void StyleEngine::scheduleInvalidationsForRuleSets(
TreeScope& treeScope,
- const HeapVector<Member<const RuleSet>>& ruleSets) {
+ const HeapVector<Member<RuleSet>>& ruleSets) {
#if DCHECK_IS_ON()
// Full scope recalcs should be handled while collecting the ruleSets before
// calling this method.
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.h ('k') | third_party/WebKit/Source/core/dom/StyleEngineTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698