Index: Source/core/dom/SelectorQuery.h |
diff --git a/Source/core/dom/SelectorQuery.h b/Source/core/dom/SelectorQuery.h |
index a4b06877ae64ed798a249578b35d82ecfdcaec8a..528e68305f4ea56850c207196b14630f099ed06b 100644 |
--- a/Source/core/dom/SelectorQuery.h |
+++ b/Source/core/dom/SelectorQuery.h |
@@ -53,8 +53,8 @@ public: |
private: |
struct SelectorData { |
- SelectorData(const CSSSelector* selector, bool isFastCheckable) : selector(selector), isFastCheckable(isFastCheckable) { } |
- const CSSSelector* selector; |
+ SelectorData(const CSSSelector& selector, bool isFastCheckable) : selector(selector), isFastCheckable(isFastCheckable) { } |
+ const CSSSelector& selector; |
bool isFastCheckable; |
}; |
@@ -79,7 +79,7 @@ private: |
void executeSlow(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const; |
template <typename SelectorQueryTrait> |
void execute(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const; |
- const CSSSelector* selectorForIdLookup(const CSSSelector*) const; |
+ const CSSSelector* selectorForIdLookup(const CSSSelector&) const; |
Vector<SelectorData> m_selectors; |
}; |