Index: third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp |
index 18bd41e2a0dc872452662a9c7d09a5976808cafa..22767809e838f004bba312a4fbd7a93e65650bae 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp |
@@ -293,7 +293,7 @@ |
InjectedScriptHost* host = V8InjectedScriptHost::unwrap(isolate->GetCurrentContext(), info.Holder()); |
if (!host->debugger()) |
return; |
- if (!host->debugger()->compileAndRunInternalScript(isolate->GetCurrentContext(), expression).ToLocal(&result)) { |
+ if (!host->debugger()->client()->compileAndRunInternalScript(expression).ToLocal(&result)) { |
v8SetReturnValue(info, tryCatch.ReThrow()); |
return; |
} |
@@ -346,7 +346,7 @@ |
global->Set(commandLineAPISymbolValue, commandLineAPI); |
} |
- v8::MaybeLocal<v8::Value> result = host->debugger()->runCompiledScript(context, script); |
+ v8::MaybeLocal<v8::Value> result = host->debugger()->client()->runCompiledScript(context, script); |
if (result.IsEmpty()) { |
global->Delete(context, commandLineAPISymbolValue); |
setExceptionAsReturnValue(info, wrappedResult, tryCatch); |
@@ -599,9 +599,9 @@ |
return InjectedScriptHostWrapper::createWrapperTemplate(isolate, methods, attributes); |
} |
-v8::Local<v8::Object> V8InjectedScriptHost::wrap(v8::Local<v8::FunctionTemplate> constructorTemplate, v8::Local<v8::Context> context, InjectedScriptHost* host) |
-{ |
- return InjectedScriptHostWrapper::wrap(constructorTemplate, context, host); |
+v8::Local<v8::Object> V8InjectedScriptHost::wrap(V8DebuggerClient* client, v8::Local<v8::FunctionTemplate> constructorTemplate, v8::Local<v8::Context> context, InjectedScriptHost* host) |
+{ |
+ return InjectedScriptHostWrapper::wrap(client, constructorTemplate, context, host); |
} |
InjectedScriptHost* V8InjectedScriptHost::unwrap(v8::Local<v8::Context> context, v8::Local<v8::Object> object) |