| 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 47b250aa29916e65a25dc0fba36db11aa957e0ce..5efe20ac9f2ba29ec73f3c29b48ef7efc25b9bf3 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/V8InspectorString.h"
|
| #include "core/loader/DocumentLoader.h"
|
| #include "core/loader/FrameLoader.h"
|
| #include "platform/MIMETypeRegistry.h"
|
| @@ -511,7 +512,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)
|
|
|