| 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 9c6aca3117d6cee362021f6b2d0087b8ce3fa668..017b5f5e5771f2e11617791a0648e80de974e0ae 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -57,6 +57,7 @@
|
| #include "core/inspector/InspectorCSSAgent.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/inspector/InspectorResourceContentLoader.h"
|
| +#include "core/inspector/V8InspectorStringView.h"
|
| #include "core/loader/DocumentLoader.h"
|
| #include "core/loader/FrameLoader.h"
|
| #include "platform/MIMETypeRegistry.h"
|
| @@ -522,7 +523,7 @@ void InspectorPageAgent::searchContentAfterResourcesContentLoaded(const String&
|
| return;
|
| }
|
|
|
| - callback->sendSuccess(m_v8Session->searchInTextByLines(content, query, caseSensitive, isRegex));
|
| + callback->sendSuccess(m_v8Session->searchInTextByLines(toV8InspectorStringView(content), toV8InspectorStringView(query), caseSensitive, isRegex));
|
| }
|
|
|
| void InspectorPageAgent::searchInResource(const String& frameId, const String& url, const String& query, const Maybe<bool>& optionalCaseSensitive, const Maybe<bool>& optionalIsRegex, std::unique_ptr<SearchInResourceCallback> callback)
|
|
|