Index: src/inspector/injected-script.cc |
diff --git a/src/inspector/injected-script.cc b/src/inspector/injected-script.cc |
index 18d548ad4cd513aaa75521b7fb61b80e516c2e7e..9d9c3270c2b26f779060861dd52ca74ab148c6a2 100644 |
--- a/src/inspector/injected-script.cc |
+++ b/src/inspector/injected-script.cc |
@@ -419,7 +419,7 @@ InjectedScript::Scope::Scope(V8InspectorImpl* inspector, int contextGroupId) |
m_handleScope(inspector->isolate()), |
m_tryCatch(inspector->isolate()), |
m_ignoreExceptionsAndMuteConsole(false), |
- m_previousPauseOnExceptionsState(v8::DebugInterface::NoBreakOnException), |
+ m_previousPauseOnExceptionsState(v8::debug::NoBreakOnException), |
m_userGesture(false) {} |
Response InjectedScript::Scope::initialize() { |
@@ -449,14 +449,13 @@ void InjectedScript::Scope::ignoreExceptionsAndMuteConsole() { |
m_inspector->client()->muteMetrics(m_contextGroupId); |
m_inspector->muteExceptions(m_contextGroupId); |
m_previousPauseOnExceptionsState = |
- setPauseOnExceptionsState(v8::DebugInterface::NoBreakOnException); |
+ setPauseOnExceptionsState(v8::debug::NoBreakOnException); |
} |
-v8::DebugInterface::ExceptionBreakState |
-InjectedScript::Scope::setPauseOnExceptionsState( |
- v8::DebugInterface::ExceptionBreakState newState) { |
+v8::debug::ExceptionBreakState InjectedScript::Scope::setPauseOnExceptionsState( |
+ v8::debug::ExceptionBreakState newState) { |
if (!m_inspector->debugger()->enabled()) return newState; |
- v8::DebugInterface::ExceptionBreakState presentState = |
+ v8::debug::ExceptionBreakState presentState = |
m_inspector->debugger()->getPauseOnExceptionsState(); |
if (presentState != newState) |
m_inspector->debugger()->setPauseOnExceptionsState(newState); |