Index: Source/core/inspector/InspectorDOMAgent.cpp |
diff --git a/Source/core/inspector/InspectorDOMAgent.cpp b/Source/core/inspector/InspectorDOMAgent.cpp |
index 78356fdee2c6bf522f764cb628e47159fbf3f0ca..2a4997541284c060b3fc91d51500160a39b12860 100644 |
--- a/Source/core/inspector/InspectorDOMAgent.cpp |
+++ b/Source/core/inspector/InspectorDOMAgent.cpp |
@@ -1227,7 +1227,7 @@ void InspectorDOMAgent::performSearch(ErrorString*, const String& whitespaceTrim |
for (Document* document : docs) { |
ASSERT(document); |
TrackExceptionState exceptionState; |
- RefPtrWillBeRawPtr<XPathResult> result = DocumentXPathEvaluator::evaluate(*document, whitespaceTrimmedQuery, document, nullptr, XPathResult::ORDERED_NODE_SNAPSHOT_TYPE, 0, exceptionState); |
+ RefPtrWillBeRawPtr<XPathResult> result = DocumentXPathEvaluator::evaluate(*document, whitespaceTrimmedQuery, document, nullptr, XPathResult::ORDERED_NODE_SNAPSHOT_TYPE, ScriptValue(), exceptionState); |
if (exceptionState.hadException() || !result) |
continue; |