Index: Source/core/dom/SelectorQuery.h |
diff --git a/Source/core/dom/SelectorQuery.h b/Source/core/dom/SelectorQuery.h |
index 25da2af2281b2d5a2ac39b925a5f547bddc64e1a..039d9fadfee56a92c1e5aa70c1bbd543a01612e4 100644 |
--- a/Source/core/dom/SelectorQuery.h |
+++ b/Source/core/dom/SelectorQuery.h |
@@ -50,7 +50,7 @@ public: |
void initialize(const CSSSelectorList&); |
bool matches(Element&) const; |
PassRefPtrWillBeRawPtr<NodeList> queryAll(ContainerNode& rootNode) const; |
- PassRefPtr<Element> queryFirst(ContainerNode& rootNode) const; |
+ PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const; |
private: |
bool canUseFastQuery(const ContainerNode& rootNode) const; |
@@ -91,7 +91,7 @@ public: |
explicit SelectorQuery(const CSSSelectorList&); |
bool matches(Element&) const; |
PassRefPtrWillBeRawPtr<NodeList> queryAll(ContainerNode& rootNode) const; |
- PassRefPtr<Element> queryFirst(ContainerNode& rootNode) const; |
+ PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const; |
private: |
SelectorDataList m_selectors; |
CSSSelectorList m_selectorList; |