Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1287)

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp

Issue 2150333003: [DevTools] Compatibility with old STL libraries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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...

Powered by Google App Engine
This is Rietveld 408576698