| 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 4f22289247ef09d56bb4378ed1934a06a6181f6e..85800be705eff4419b2f6a01be3ff819b0933819 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
|
| @@ -183,15 +183,17 @@ void V8InjectedScriptHost::suppressWarningsAndCallFunctionCallback(const v8::Fun
|
| }
|
| }
|
|
|
| - V8DebuggerClient* client = unwrapDebugger(info)->client();
|
| - client->muteWarningsAndDeprecations();
|
| + V8DebuggerImpl* debugger = unwrapDebugger(info);
|
| + debugger->client()->muteWarningsAndDeprecations();
|
| + debugger->muteConsole();
|
|
|
| v8::MicrotasksScope microtasks(isolate, v8::MicrotasksScope::kDoNotRunMicrotasks);
|
| v8::Local<v8::Value> result;
|
| if (function->Call(context, receiver, argc, argv.get()).ToLocal(&result))
|
| info.GetReturnValue().Set(result);
|
|
|
| - client->unmuteWarningsAndDeprecations();
|
| + debugger->unmuteConsole();
|
| + debugger->client()->unmuteWarningsAndDeprecations();
|
| }
|
|
|
| void V8InjectedScriptHost::bindCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|