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

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

Issue 2151273003: [DevTools] Move browser logging from Console domain to Log domain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internals-method
Patch Set: protocol improvements 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/InjectedScript.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp
index 0da6e2cf11cf96f73699bed5efe273321bd7297b..1cf562012110bb00c4e44a2eff9438381d83a4d8 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp
@@ -395,7 +395,7 @@ void InjectedScript::Scope::ignoreExceptionsAndMuteConsole()
{
DCHECK(!m_ignoreExceptionsAndMuteConsole);
m_ignoreExceptionsAndMuteConsole = true;
- m_debugger->client()->muteWarningsAndDeprecations();
+ m_debugger->client()->muteWarningsAndDeprecations(m_contextGroupId);
m_previousPauseOnExceptionsState = setPauseOnExceptionsState(V8DebuggerImpl::DontPauseOnExceptions);
}
@@ -429,7 +429,7 @@ InjectedScript::Scope::~Scope()
{
if (m_ignoreExceptionsAndMuteConsole) {
setPauseOnExceptionsState(m_previousPauseOnExceptionsState);
- m_debugger->client()->unmuteWarningsAndDeprecations();
+ m_debugger->client()->unmuteWarningsAndDeprecations(m_contextGroupId);
}
if (m_userGesture)
m_debugger->client()->endUserGesture();

Powered by Google App Engine
This is Rietveld 408576698