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

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

Issue 29633003: Avoid style sharing with mis-matched descendant selectors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: Source/core/css/RuleFeature.h
diff --git a/Source/core/css/RuleFeature.h b/Source/core/css/RuleFeature.h
index c8d35fc9fa7661cb91cd95629f8f9c383babb185..6184d5927fe6260aac14f9abdcf7575f3730cf83 100644
--- a/Source/core/css/RuleFeature.h
+++ b/Source/core/css/RuleFeature.h
@@ -80,6 +80,7 @@ public:
HashSet<AtomicString> classesInRules;
HashSet<AtomicString> attrsInRules;
Vector<RuleFeature> siblingRules;
+ Vector<RuleFeature> descendantRules;
esprehn 2013/10/21 19:19:08 Most rules are descendant rules, this Vector is go
Vector<RuleFeature> uncommonAttributeRules;
private:
void collectFeaturesFromSelectorList(const CSSSelectorList*);

Powered by Google App Engine
This is Rietveld 408576698