Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp |
index 53f471674c78bdea0d03b675e2ceaa13dbb4aabe..771d407317b8a0d5d07020e23bc85e7ae2aa730b 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp |
@@ -409,7 +409,7 @@ bool V8DebuggerImpl::setScriptSource(const String16& sourceID, const String16& n |
*stackChanged = resultTuple->Get(1)->BooleanValue(); |
// Call stack may have changed after if the edited function was on the stack. |
if (!preview && isPaused()) |
- *newCallFrames = currentCallFrames(); |
+ newCallFrames->swap(currentCallFrames()); |
return true; |
} |
// Compile error. |