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 c1ecb103201a3e1802c91eaf785fa97bec63d122..8a9e0904812b40859f2b31c6a75b8c029e5967fc 100644 |
--- a/third_party/WebKit/Source/core/css/CSSSelector.h |
+++ b/third_party/WebKit/Source/core/css/CSSSelector.h |
@@ -253,7 +253,7 @@ public: |
bool isAdjacentSelector() const { return m_relation == DirectAdjacent || m_relation == IndirectAdjacent; } |
bool isShadowSelector() const { return m_relation == ShadowPseudo || m_relation == ShadowDeep; } |
- bool isSiblingSelector() const; |
+ bool isSiblingPseudo() const; |
bool isAttributeSelector() const { return m_match >= FirstAttributeSelectorMatch; } |
bool isHostPseudoClass() const { return m_pseudoType == PseudoHost || m_pseudoType == PseudoHostContext; } |
bool isInsertionPointCrossing() const { return m_pseudoType == PseudoHostContext || m_pseudoType == PseudoContent || m_pseudoType == PseudoSlotted; } |
@@ -365,12 +365,10 @@ inline CSSSelector::AttributeMatchType CSSSelector::attributeMatchType() const |
return m_data.m_rareData->m_bits.m_attributeMatchType; |
} |
-inline bool CSSSelector::isSiblingSelector() const |
+inline bool CSSSelector::isSiblingPseudo() const |
{ |
PseudoType type = pseudoType(); |
- return m_relation == DirectAdjacent |
- || m_relation == IndirectAdjacent |
- || type == PseudoEmpty |
+ return type == PseudoEmpty |
|| type == PseudoFirstChild |
|| type == PseudoFirstOfType |
|| type == PseudoLastChild |