| Index: Source/core/css/CSSSelector.h
|
| diff --git a/Source/core/css/CSSSelector.h b/Source/core/css/CSSSelector.h
|
| index 563e371b27be5d4127c9cc10a76fed257fce96f7..2a2c36afcfae59ee734f4ac7a3fc5483ac2a4a99 100644
|
| --- a/Source/core/css/CSSSelector.h
|
| +++ b/Source/core/css/CSSSelector.h
|
| @@ -290,6 +290,8 @@ namespace blink {
|
| bool matchesPseudoElement() const;
|
| bool isCustomPseudoElement() const;
|
| bool isDirectAdjacentSelector() const { return m_relation == DirectAdjacent; }
|
| + bool isAdjacentSelector() const { return m_relation == DirectAdjacent || m_relation == IndirectAdjacent; }
|
| + bool isShadowSelector() const { return m_relation == ShadowPseudo || m_relation == ShadowDeep; }
|
| bool isSiblingSelector() const;
|
| bool isAttributeSelector() const;
|
| bool isContentPseudoElement() const;
|
|
|