Index: Source/core/inspector/InspectorDOMAgent.cpp |
diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp |
index 00ea53088d704d089c8cdd91d8e7695926d7ccf0..1e910523dab3ec85f8353c5c4f5bf7d7c4151a36 100644 |
--- a/Source/core/inspector/InspectorDOMAgent.cpp |
+++ b/Source/core/inspector/InspectorDOMAgent.cpp |
@@ -590,7 +590,7 @@ void InspectorDOMAgent::querySelectorAll(ErrorString* errorString, int nodeId, c |
return; |
TrackExceptionState exceptionState; |
- RefPtr<NodeList> nodes = toContainerNode(node)->querySelectorAll(AtomicString(selectors), exceptionState); |
+ RefPtrWillBeRawPtr<NodeList> nodes = toContainerNode(node)->querySelectorAll(AtomicString(selectors), exceptionState); |
if (exceptionState.hadException()) { |
*errorString = "DOM Error while querying"; |
return; |
@@ -1001,7 +1001,7 @@ void InspectorDOMAgent::performSearch(ErrorString*, const String& whitespaceTrim |
for (Vector<Document*>::iterator it = docs.begin(); it != docs.end(); ++it) { |
Document* document = *it; |
TrackExceptionState exceptionState; |
- RefPtr<NodeList> nodeList = document->querySelectorAll(AtomicString(whitespaceTrimmedQuery), exceptionState); |
+ RefPtrWillBeRawPtr<NodeList> nodeList = document->querySelectorAll(AtomicString(whitespaceTrimmedQuery), exceptionState); |
if (exceptionState.hadException() || !nodeList) |
continue; |