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 f42cdb6a1be22d8fe284c48d2b7e61ad6b155f7a..c985e9daefb20fb6ff4821ab8520003a7dcd91f4 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp |
@@ -399,7 +399,7 @@ void InjectedScript::Scope::ignoreExceptionsAndMuteConsole() |
{ |
DCHECK(!m_ignoreExceptionsAndMuteConsole); |
m_ignoreExceptionsAndMuteConsole = true; |
- m_debugger->muteConsole(); |
+ m_debugger->client()->muteWarningsAndDeprecations(); |
m_previousPauseOnExceptionsState = setPauseOnExceptionsState(V8DebuggerImpl::DontPauseOnExceptions); |
} |
@@ -433,7 +433,7 @@ InjectedScript::Scope::~Scope() |
{ |
if (m_ignoreExceptionsAndMuteConsole) { |
setPauseOnExceptionsState(m_previousPauseOnExceptionsState); |
- m_debugger->unmuteConsole(); |
+ m_debugger->client()->unmuteWarningsAndDeprecations(); |
} |
if (m_userGesture) |
m_debugger->client()->endUserGesture(); |