Index: third_party/WebKit/Source/core/css/parser/CSSParserSelector.h |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h b/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h |
index 1598baf39b2f9648d54b81eebdbdeeb5f1b20758..b0f704f7d7a3ad6c292763d5d1bd25f2bb9d1ab3 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h |
@@ -55,7 +55,7 @@ public: |
void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectorVector); |
void setSelectorList(PassOwnPtr<CSSSelectorList>); |
- bool hasHostPseudoSelector() const; |
+ bool isHostPseudoSelector() const; |
CSSSelector::Match match() const { return m_selector->match(); } |
CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType(); } |
@@ -63,13 +63,12 @@ public: |
bool needsImplicitShadowCrossingCombinatorForMatching() const { return pseudoType() == CSSSelector::PseudoWebKitCustomElement || pseudoType() == CSSSelector::PseudoCue || pseudoType() == CSSSelector::PseudoShadow; } |
bool isSimple() const; |
- bool hasImplicitShadowCrossingCombinatorForMatching() const; |
CSSParserSelector* tagHistory() const { return m_tagHistory.get(); } |
void setTagHistory(PassOwnPtr<CSSParserSelector> selector) { m_tagHistory = selector; } |
void clearTagHistory() { m_tagHistory.clear(); } |
- void insertTagHistory(CSSSelector::Relation before, PassOwnPtr<CSSParserSelector>, CSSSelector::Relation after); |
void appendTagHistory(CSSSelector::Relation, PassOwnPtr<CSSParserSelector>); |
+ PassOwnPtr<CSSParserSelector> releaseTagHistory(); |
void prependTagSelector(const QualifiedName&, bool tagIsImplicit = false); |
private: |
@@ -77,11 +76,6 @@ private: |
OwnPtr<CSSParserSelector> m_tagHistory; |
}; |
-inline bool CSSParserSelector::hasImplicitShadowCrossingCombinatorForMatching() const |
-{ |
- return m_selector->relation() == CSSSelector::ShadowPseudo; |
-} |
- |
} // namespace blink |
#endif |