Index: Source/core/inspector/InspectorDOMAgent.cpp |
diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp |
index 74afd22fbdacefb3093fbe91381b12b4709174ea..9af78cca9ea467b7a9c8c467f6cce196f32d073f 100644 |
--- a/Source/core/inspector/InspectorDOMAgent.cpp |
+++ b/Source/core/inspector/InspectorDOMAgent.cpp |
@@ -954,7 +954,7 @@ void InspectorDOMAgent::performSearch(ErrorString*, const String& whitespaceTrim |
continue; |
// Manual plain text search. |
- while ((node = NodeTraversal::next(node, document->documentElement()))) { |
+ while ((node = NodeTraversal::next(*node, document->documentElement()))) { |
switch (node->nodeType()) { |
case Node::TEXT_NODE: |
case Node::COMMENT_NODE: |