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 9d68fdd125fd6e0557825cf1227ad11587e427e9..2cb89a69b92c1a3f67601dbf69ee6d93f3d88f80 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp |
@@ -215,7 +215,7 @@ void V8DebuggerAgentImpl::restore() |
m_skipAllPauses = m_state->booleanProperty(DebuggerAgentState::skipAllPauses, false); |
int asyncCallStackDepth = 0; |
- m_state->getInteger(DebuggerAgentState::asyncCallStackDepth, &asyncCallStackDepth); |
+ m_state->getInteger(DebuggerAgentState::pauseOnExceptionsState, &pauseState); |
pfeldman
2016/07/15 23:14:07
Why did this change?
eostroukhov-old
2016/07/15 23:45:53
Oops, it didn't.
|
m_debugger->setAsyncCallStackDepth(this, asyncCallStackDepth); |
String16 blackboxPattern; |
@@ -445,7 +445,7 @@ bool V8DebuggerAgentImpl::isCallFrameWithUnknownScriptOrBlackboxed(JavaScriptCal |
return false; |
const std::vector<std::pair<int, int>>& ranges = itBlackboxedPositions->second; |
- auto itRange = std::lower_bound(ranges.cbegin(), ranges.cend(), |
+ auto itRange = std::lower_bound(ranges.begin(), ranges.end(), |
std::make_pair(frame->line(), frame->column()), positionComparator); |
// Ranges array contains positions in script where blackbox state is changed. |
// [(0,0) ... ranges[0]) isn't blackboxed, [ranges[0] ... ranges[1]) is blackboxed... |