Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
index 9f121df6a49154442e00985f8d5ac0c92dfd6843..23ed3fa45ee3d3f74be793f08ab8c63ea652dce5 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
@@ -140,7 +140,6 @@ void V8DebuggerAgentImpl::enable() |
// FIXME(WK44513): breakpoints activated flag should be synchronized between all front-ends |
debugger().setBreakpointsActivated(true); |
- m_session->changeInstrumentationCounter(+1); |
} |
bool V8DebuggerAgentImpl::enabled() |
@@ -165,7 +164,6 @@ void V8DebuggerAgentImpl::disable(ErrorString*) |
{ |
if (!enabled()) |
return; |
- m_session->changeInstrumentationCounter(-1); |
m_state->setObject(DebuggerAgentState::javaScriptBreakpoints, protocol::DictionaryValue::create()); |
m_state->setNumber(DebuggerAgentState::pauseOnExceptionsState, V8DebuggerImpl::DontPauseOnExceptions); |