Index: Source/core/dom/SelectorQuery.cpp |
diff --git a/Source/core/dom/SelectorQuery.cpp b/Source/core/dom/SelectorQuery.cpp |
index e1911102ade42c69a685fd3dee684428cd4b178d..eb0409288d32bb044276d90e16d043bdcb77d9e4 100644 |
--- a/Source/core/dom/SelectorQuery.cpp |
+++ b/Source/core/dom/SelectorQuery.cpp |
@@ -141,7 +141,7 @@ PassRefPtrWillBeRawPtr<NodeList> SelectorDataList::queryAll(ContainerNode& rootN |
return StaticNodeList::adopt(result); |
} |
-PassRefPtr<Element> SelectorDataList::queryFirst(ContainerNode& rootNode) const |
+PassRefPtrWillBeRawPtr<Element> SelectorDataList::queryFirst(ContainerNode& rootNode) const |
{ |
Element* matchedElement = 0; |
execute<SingleElementSelectorQueryTrait>(rootNode, matchedElement); |
@@ -480,7 +480,7 @@ PassRefPtrWillBeRawPtr<NodeList> SelectorQuery::queryAll(ContainerNode& rootNode |
return m_selectors.queryAll(rootNode); |
} |
-PassRefPtr<Element> SelectorQuery::queryFirst(ContainerNode& rootNode) const |
+PassRefPtrWillBeRawPtr<Element> SelectorQuery::queryFirst(ContainerNode& rootNode) const |
{ |
return m_selectors.queryFirst(rootNode); |
} |