| 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 d3fcecf9f84c33de188e761d681feb29b52002b1..7a4ad6bb377db5038529b3ba5e8060abf12960e8 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp
|
| @@ -393,7 +393,8 @@ void InjectedScript::Scope::ignoreExceptionsAndMuteConsole()
|
| {
|
| DCHECK(!m_ignoreExceptionsAndMuteConsole);
|
| m_ignoreExceptionsAndMuteConsole = true;
|
| - m_inspector->client()->muteWarningsAndDeprecations(m_contextGroupId);
|
| + m_inspector->client()->muteMetrics(m_contextGroupId);
|
| + m_inspector->muteExceptions(m_contextGroupId);
|
| m_previousPauseOnExceptionsState = setPauseOnExceptionsState(V8Debugger::DontPauseOnExceptions);
|
| }
|
|
|
| @@ -427,7 +428,8 @@ InjectedScript::Scope::~Scope()
|
| {
|
| if (m_ignoreExceptionsAndMuteConsole) {
|
| setPauseOnExceptionsState(m_previousPauseOnExceptionsState);
|
| - m_inspector->client()->unmuteWarningsAndDeprecations(m_contextGroupId);
|
| + m_inspector->client()->unmuteMetrics(m_contextGroupId);
|
| + m_inspector->unmuteExceptions(m_contextGroupId);
|
| }
|
| if (m_userGesture)
|
| m_inspector->client()->endUserGesture();
|
|
|