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

Unified Diff: third_party/WebKit/Source/core/css/RuleFeature.cpp

Issue 2253053002: CSS: RuleFeature::clear clears all invalidation sets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/invalidation/rule-change.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/RuleFeature.cpp
diff --git a/third_party/WebKit/Source/core/css/RuleFeature.cpp b/third_party/WebKit/Source/core/css/RuleFeature.cpp
index 74858be47922ebf4b50fb5adf7876c7048affe59..5359c6390f1e029033c3ade292482dae27106b35 100644
--- a/third_party/WebKit/Source/core/css/RuleFeature.cpp
+++ b/third_party/WebKit/Source/core/css/RuleFeature.cpp
@@ -742,6 +742,8 @@ void RuleFeatureSet::clear()
m_attributeInvalidationSets.clear();
m_idInvalidationSets.clear();
m_pseudoInvalidationSets.clear();
+ m_universalSiblingInvalidationSet.clear();
+ m_nthInvalidationSet.clear();
}
void RuleFeatureSet::collectInvalidationSetsForClass(InvalidationLists& invalidationLists, Element& element, const AtomicString& className) const
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/invalidation/rule-change.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698