Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp

Issue 2139363003: [DevTools] Cleanup v8_inspector API part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d4083f60a19ecbd5e954ad2099a035598aec0ec6..cc2c8445437bb3eec770964e5faec14bef95b3f9 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8InjectedScriptHost.cpp
@@ -181,14 +181,12 @@ void V8InjectedScriptHost::suppressWarningsAndCallFunctionCallback(const v8::Fun
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);
- debugger->unmuteConsole();
debugger->client()->unmuteWarningsAndDeprecations();
}

Powered by Google App Engine
This is Rietveld 408576698