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

Unified Diff: sky/engine/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp

Issue 771323002: Remove a couple more core/ header includes from v8_inspector (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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: sky/engine/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
diff --git a/sky/engine/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp b/sky/engine/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
index c5dbb72ab4493a177d32513fc4156f6031cf8a15..5d7b5de16047c460b3a7adce615bed4ff1703ed3 100644
--- a/sky/engine/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
+++ b/sky/engine/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp
@@ -417,13 +417,8 @@ void V8InjectedScriptHost::callFunctionMethodCustom(const v8::FunctionCallbackIn
void V8InjectedScriptHost::suppressWarningsAndCallFunctionMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- InjectedScriptHost* host = V8InjectedScriptHost::toNative(info.Holder());
- ScriptDebugServer& debugServer = host->scriptDebugServer();
- debugServer.muteWarningsAndDeprecations();
-
+ // In sky we no longer have a fancy console with which to supress messages.
callFunctionMethodCustom(info);
-
- debugServer.unmuteWarningsAndDeprecations();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698