Index: third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp |
index d11f14f57847e05c7cf959eb15a61e7784afbc5b..1b510c489ef42660e26d3e3b0701b67eb21743a3 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp |
@@ -63,7 +63,6 @@ |
#include "platform/PlatformResourceLoader.h" |
#include "platform/UserGestureIndicator.h" |
#include "platform/inspector_protocol/Values.h" |
-#include "platform/v8_inspector/public/V8ContentSearchUtil.h" |
#include "platform/v8_inspector/public/V8InspectorSession.h" |
#include "platform/weborigin/SecurityOrigin.h" |
#include "wtf/CurrentTime.h" |
@@ -516,7 +515,7 @@ void InspectorPageAgent::searchContentAfterResourcesContentLoaded(const String& |
return; |
} |
- callback->sendSuccess(V8ContentSearchUtil::searchInTextByLines(m_v8Session, content, query, caseSensitive, isRegex)); |
+ callback->sendSuccess(m_v8Session->searchInTextByLines(content, query, caseSensitive, isRegex)); |
} |
void InspectorPageAgent::searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const Maybe<bool>& optionalCaseSensitive, const Maybe<bool>& optionalIsRegex, std::unique_ptr<SearchInResourceCallback> callback) |