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(); |