| Index: Source/core/inspector/v8/V8DebuggerImpl.cpp
|
| diff --git a/Source/core/inspector/v8/V8DebuggerImpl.cpp b/Source/core/inspector/v8/V8DebuggerImpl.cpp
|
| index 10f29ef44fadd3230c2de21e0823b884d00cf7bf..0348a70a34b5fa8f13979403409c71d683733399 100644
|
| --- a/Source/core/inspector/v8/V8DebuggerImpl.cpp
|
| +++ b/Source/core/inspector/v8/V8DebuggerImpl.cpp
|
| @@ -298,7 +298,7 @@ void V8DebuggerImpl::clearStepping()
|
| callDebuggerMethod("clearStepping", 0, argv);
|
| }
|
|
|
| -bool V8DebuggerImpl::setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>& errorData, v8::Global<v8::Object>* newCallFrames, RefPtr<JSONObject>* result)
|
| +bool V8DebuggerImpl::setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>& errorData, v8::Global<v8::Object>* newCallFrames, TypeBuilder::OptOutput<bool>* stackChanged)
|
| {
|
| class EnableLiveEditScope {
|
| public:
|
| @@ -339,10 +339,7 @@ bool V8DebuggerImpl::setScriptSource(const String& sourceID, const String& newCo
|
| switch (code) {
|
| case 0:
|
| {
|
| - v8::Local<v8::Value> normalResult = resultTuple->Get(1);
|
| - RefPtr<JSONValue> jsonResult = toJSONValue(m_isolate, normalResult);
|
| - if (jsonResult)
|
| - *result = jsonResult->asObject();
|
| + *stackChanged = resultTuple->Get(1)->BooleanValue();
|
| // Call stack may have changed after if the edited function was on the stack.
|
| if (!preview && isPaused())
|
| newCallFrames->Reset(m_isolate, currentCallFrames());
|
|
|