Index: Source/bindings/v8/ScriptDebugServer.cpp |
diff --git a/Source/bindings/v8/ScriptDebugServer.cpp b/Source/bindings/v8/ScriptDebugServer.cpp |
index 0d29e804bf6f426eb9956beb131181903df234f1..0e0d670a6e79d9076fccd4340c752e8e090780e9 100644 |
--- a/Source/bindings/v8/ScriptDebugServer.cpp |
+++ b/Source/bindings/v8/ScriptDebugServer.cpp |
@@ -574,7 +574,7 @@ void ScriptDebugServer::compileScript(ScriptState* state, const String& expressi |
return; |
*scriptId = toWebCoreStringWithUndefinedOrNullCheck(script->Id()); |
- m_compiledScripts.set(*scriptId, adoptPtr(new ScopedPersistent<v8::Script>(script))); |
+ m_compiledScripts.set(*scriptId, adoptPtr(new ScopedPersistent<v8::Script>(m_isolate, script))); |
} |
void ScriptDebugServer::clearCompiledScripts() |