| Index: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp
|
| index c9a235ae29e5fd1fdaa3176f9aff9cfab7102c84..454d855c132e048cbcabfcf21d2df9c573091faf 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp
|
| @@ -115,7 +115,7 @@ void V8RuntimeAgentImpl::evaluate(
|
| scope.context()->AllowCodeGenerationFromStrings(true);
|
|
|
| v8::MaybeLocal<v8::Value> maybeResultValue;
|
| - v8::Local<v8::Script> script = m_debugger->compileInternalScript(scope.context(), toV8String(m_debugger->isolate(), expression), String16());
|
| + v8::Local<v8::Script> script = m_debugger->compileScript(scope.context(), toV8String(m_debugger->isolate(), expression), String16(), false);
|
| if (!script.IsEmpty())
|
| maybeResultValue = m_debugger->runCompiledScript(scope.context(), script);
|
|
|
| @@ -289,7 +289,7 @@ void V8RuntimeAgentImpl::compileScript(ErrorString* errorString,
|
| if (!scope.initialize())
|
| return;
|
|
|
| - v8::Local<v8::Script> script = m_debugger->compileInternalScript(scope.context(), toV8String(m_debugger->isolate(), expression), sourceURL);
|
| + v8::Local<v8::Script> script = m_debugger->compileScript(scope.context(), toV8String(m_debugger->isolate(), expression), sourceURL, false);
|
| if (script.IsEmpty()) {
|
| v8::Local<v8::Message> message = scope.tryCatch().Message();
|
| if (!message.IsEmpty())
|
|
|