Index: Source/bindings/v8/ScriptDebugServer.cpp |
diff --git a/Source/bindings/v8/ScriptDebugServer.cpp b/Source/bindings/v8/ScriptDebugServer.cpp |
index 05e65393f7a15c8b868c6a49d1cbb92283945438..be1b87d06c71bfc7ac793b6c01b814eb3467d027 100644 |
--- a/Source/bindings/v8/ScriptDebugServer.cpp |
+++ b/Source/bindings/v8/ScriptDebugServer.cpp |
@@ -330,7 +330,7 @@ ScriptValue ScriptDebugServer::currentCallFrame() |
v8::HandleScope handleScope(m_isolate); |
RefPtr<JavaScriptCallFrame> currentCallFrame = wrapCallFrames(m_executionState.newLocal(m_isolate), -1); |
if (!currentCallFrame) |
- return ScriptValue(v8::Null()); |
+ return ScriptValue(v8::Null(m_isolate)); |
v8::Context::Scope contextScope(m_pausedContext); |
return ScriptValue(toV8(currentCallFrame.release(), v8::Handle<v8::Object>(), m_pausedContext->GetIsolate())); |
} |