Index: Source/core/css/CSSParserValues.h |
diff --git a/Source/core/css/CSSParserValues.h b/Source/core/css/CSSParserValues.h |
index 5a5ad7e0c95d77d5f6104d9f4f177ff4453edae7..fd1c475a3f3254d4e0da2f1e125d4fd9a97f1e8e 100644 |
--- a/Source/core/css/CSSParserValues.h |
+++ b/Source/core/css/CSSParserValues.h |
@@ -211,7 +211,7 @@ public: |
bool isCustomPseudoElement() const { return m_selector->isCustomPseudoElement(); } |
bool isSimple() const; |
- bool hasShadowDescendant() const; |
+ bool hasShadowPseudo() const; |
CSSParserSelector* tagHistory() const { return m_tagHistory.get(); } |
void setTagHistory(PassOwnPtr<CSSParserSelector> selector) { m_tagHistory = selector; } |
@@ -226,9 +226,9 @@ private: |
CSSParserSelector* m_functionArgumentSelector; |
}; |
-inline bool CSSParserSelector::hasShadowDescendant() const |
+inline bool CSSParserSelector::hasShadowPseudo() const |
{ |
- return m_selector->relation() == CSSSelector::ShadowDescendant; |
+ return m_selector->relation() == CSSSelector::ShadowPseudo; |
} |
} |