Index: Source/core/css/SelectorCheckerFastPath.h |
diff --git a/Source/core/css/SelectorCheckerFastPath.h b/Source/core/css/SelectorCheckerFastPath.h |
index 819ecbc332a6f37addd8fe110d9d7befa2b0d659..1a37b9ac35ae7946bef531123f596ebf7a57c884 100644 |
--- a/Source/core/css/SelectorCheckerFastPath.h |
+++ b/Source/core/css/SelectorCheckerFastPath.h |
@@ -36,7 +36,7 @@ namespace WebCore { |
class SelectorCheckerFastPath { |
public: |
- SelectorCheckerFastPath(const CSSSelector*, const Element*); |
+ SelectorCheckerFastPath(const CSSSelector*, const Element&); |
bool matches() const; |
bool matchesRightmostSelector(SelectorChecker::VisitedMatchType) const; |
@@ -48,7 +48,7 @@ private: |
bool commonPseudoClassSelectorMatches(SelectorChecker::VisitedMatchType) const; |
const CSSSelector* m_selector; |
- const Element* m_element; |
+ const Element& m_element; |
}; |
inline bool SelectorCheckerFastPath::matchesRightmostAttributeSelector() const |