| Index: src/inspector/injected-script.cc
|
| diff --git a/src/inspector/injected-script.cc b/src/inspector/injected-script.cc
|
| index d379a50c7378bffe3f8d28230c27048682ec7002..8e7ca6be3b55677d104221cd20014d94f4f7c569 100644
|
| --- a/src/inspector/injected-script.cc
|
| +++ b/src/inspector/injected-script.cc
|
| @@ -445,7 +445,7 @@ InjectedScript::Scope::Scope(ErrorString* errorString,
|
| m_handleScope(inspector->isolate()),
|
| m_tryCatch(inspector->isolate()),
|
| m_ignoreExceptionsAndMuteConsole(false),
|
| - m_previousPauseOnExceptionsState(V8Debugger::DontPauseOnExceptions),
|
| + m_previousPauseOnExceptionsState(v8::DebugInterface::NoBreakOnException),
|
| m_userGesture(false) {}
|
|
|
| bool InjectedScript::Scope::initialize() {
|
| @@ -479,14 +479,14 @@ void InjectedScript::Scope::ignoreExceptionsAndMuteConsole() {
|
| m_inspector->client()->muteMetrics(m_contextGroupId);
|
| m_inspector->muteExceptions(m_contextGroupId);
|
| m_previousPauseOnExceptionsState =
|
| - setPauseOnExceptionsState(V8Debugger::DontPauseOnExceptions);
|
| + setPauseOnExceptionsState(v8::DebugInterface::NoBreakOnException);
|
| }
|
|
|
| -V8Debugger::PauseOnExceptionsState
|
| +v8::DebugInterface::ExceptionBreakState
|
| InjectedScript::Scope::setPauseOnExceptionsState(
|
| - V8Debugger::PauseOnExceptionsState newState) {
|
| + v8::DebugInterface::ExceptionBreakState newState) {
|
| if (!m_inspector->debugger()->enabled()) return newState;
|
| - V8Debugger::PauseOnExceptionsState presentState =
|
| + v8::DebugInterface::ExceptionBreakState presentState =
|
| m_inspector->debugger()->getPauseOnExceptionsState();
|
| if (presentState != newState)
|
| m_inspector->debugger()->setPauseOnExceptionsState(newState);
|
|
|