| 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 47171cf2a9e8a8bbfc933ad9779a5fbbee142521..21d8dee4d7dc20d6d52951866896df128210e61f 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h
|
| @@ -58,11 +58,10 @@ public:
|
|
|
| CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType(); }
|
|
|
| - // TODO(esprehn): This set of cases doesn't make sense, why PseudoShadow but not a check for ::content or /deep/ ?
|
| - bool crossesTreeScopes() const { return pseudoType() == CSSSelector::PseudoWebKitCustomElement || pseudoType() == CSSSelector::PseudoCue || pseudoType() == CSSSelector::PseudoShadow; }
|
| + bool needsImplicitShadowCrossingCombinatorForMatching() const { return pseudoType() == CSSSelector::PseudoWebKitCustomElement || pseudoType() == CSSSelector::PseudoCue || pseudoType() == CSSSelector::PseudoShadow; }
|
|
|
| bool isSimple() const;
|
| - bool hasShadowPseudo() const;
|
| + bool hasImplicitShadowCrossingCombinatorForMatching() const;
|
|
|
| CSSParserSelector* tagHistory() const { return m_tagHistory.get(); }
|
| void setTagHistory(PassOwnPtr<CSSParserSelector> selector) { m_tagHistory = selector; }
|
| @@ -76,7 +75,7 @@ private:
|
| OwnPtr<CSSParserSelector> m_tagHistory;
|
| };
|
|
|
| -inline bool CSSParserSelector::hasShadowPseudo() const
|
| +inline bool CSSParserSelector::hasImplicitShadowCrossingCombinatorForMatching() const
|
| {
|
| return m_selector->relation() == CSSSelector::ShadowPseudo;
|
| }
|
|
|