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

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

Issue 2703643003: Schedule a type selector invalidation set for RuleSet invalidations. (Closed)
Patch Set: Corrected expectation text. Created 3 years, 10 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/css/RuleFeature.h
diff --git a/third_party/WebKit/Source/core/css/RuleFeature.h b/third_party/WebKit/Source/core/css/RuleFeature.h
index 4a894ebba1b361316677e6d567a2f1d377cd6345..40bd9bdacaebc0701fd725c9b00670f102686829 100644
--- a/third_party/WebKit/Source/core/css/RuleFeature.h
+++ b/third_party/WebKit/Source/core/css/RuleFeature.h
@@ -212,7 +212,7 @@ class CORE_EXPORT RuleFeatureSet {
void add(const InvalidationSetFeatures& other);
bool hasFeatures() const;
- bool hasTagIdClassOrAttribute() const;
+ bool hasIdClassOrAttribute() const;
Vector<AtomicString> classes;
Vector<AtomicString> attributes;
@@ -280,6 +280,9 @@ class CORE_EXPORT RuleFeatureSet {
const InvalidationSetFeatures& siblingFeatures,
const InvalidationSetFeatures& descendantFeatures);
+ void updateRuleSetInvalidation(const InvalidationSetFeatures&);
+ void addTagNamesToTypeRuleInvalidationSet(const Vector<AtomicString>&);
+
FeatureMetadata m_metadata;
InvalidationSetMap m_classInvalidationSets;
InvalidationSetMap m_attributeInvalidationSets;

Powered by Google App Engine
This is Rietveld 408576698