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

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

Issue 2306903002: Fix the wrong usages of CSSSelectorList::selectorUsesXXX() functions (Closed)
Patch Set: Fix Created 4 years, 3 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/CSSSelector.h
diff --git a/third_party/WebKit/Source/core/css/CSSSelector.h b/third_party/WebKit/Source/core/css/CSSSelector.h
index c7dd1b97ea55890b778acbe1676c2c68c1120d79..e910052c94358808e21079c1aa5bcee89da69da2 100644
--- a/third_party/WebKit/Source/core/css/CSSSelector.h
+++ b/third_party/WebKit/Source/core/css/CSSSelector.h
@@ -296,6 +296,11 @@ public:
bool matchesPseudoElement() const;
+ bool hasContentPseudo() const;
+ bool hasSlottedPseudo() const;
+ bool hasDeepCombinatorOrShadowPseudo() const;
+ bool needsUpdatedDistribution() const;
+
private:
unsigned m_relation : 3; // enum RelationType
unsigned m_match : 4; // enum MatchType

Powered by Google App Engine
This is Rietveld 408576698