Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: Source/core/css/SelectorCheckerFastPath.h

Issue 53683007: Have SelectorQuery API take rootNode by reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/css/SelectorCheckerFastPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/css/SelectorCheckerFastPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698