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

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

Issue 1544893003: Don't add rule features across ::content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused method Created 4 years, 11 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 3711a7d9d4e3b70ef5de63a006ab04c787429307..9b6ea5f0ec296a77178199f239c8f80e20a0d0e0 100644
--- a/third_party/WebKit/Source/core/css/RuleFeature.h
+++ b/third_party/WebKit/Source/core/css/RuleFeature.h
@@ -138,27 +138,19 @@ private:
struct InvalidationSetFeatures {
DISALLOW_NEW();
- InvalidationSetFeatures()
- : maxDirectAdjacentSelectors(UINT_MAX)
- , customPseudoElement(false)
- , hasBeforeOrAfter(false)
- , treeBoundaryCrossing(false)
- , adjacent(false)
- , insertionPointCrossing(false)
- , forceSubtree(false)
- { }
Vector<AtomicString> classes;
Vector<AtomicString> attributes;
AtomicString id;
AtomicString tagName;
- unsigned maxDirectAdjacentSelectors;
- bool customPseudoElement;
- bool hasBeforeOrAfter;
- bool treeBoundaryCrossing;
- bool adjacent;
- bool insertionPointCrossing;
- bool forceSubtree;
+ unsigned maxDirectAdjacentSelectors = UINT_MAX;
+ bool customPseudoElement = false;
+ bool hasBeforeOrAfter = false;
+ bool treeBoundaryCrossing = false;
+ bool adjacent = false;
+ bool insertionPointCrossing = false;
+ bool forceSubtree = false;
+ bool contentPseudoCrossing = false;
};
static bool extractInvalidationSetFeature(const CSSSelector&, InvalidationSetFeatures&);

Powered by Google App Engine
This is Rietveld 408576698