| Index: Source/bindings/v8/WorkerScriptDebugServer.cpp
|
| diff --git a/Source/bindings/v8/WorkerScriptDebugServer.cpp b/Source/bindings/v8/WorkerScriptDebugServer.cpp
|
| index 73a085fc84df81ecf55fd3ff699cb15ef48cbc6e..9962c105c884e4101f229a14fc067f268576b4d3 100644
|
| --- a/Source/bindings/v8/WorkerScriptDebugServer.cpp
|
| +++ b/Source/bindings/v8/WorkerScriptDebugServer.cpp
|
| @@ -63,7 +63,7 @@ void WorkerScriptDebugServer::addListener(ScriptDebugListener* listener)
|
| ensureDebuggerScriptCompiled();
|
| v8::Local<v8::Object> debuggerScript = m_debuggerScript.newLocal(m_isolate);
|
| ASSERT(!debuggerScript->IsUndefined());
|
| - v8::Debug::SetDebugEventListener2(&WorkerScriptDebugServer::v8DebugEventCallback, v8::External::New(this));
|
| + v8::Debug::SetDebugEventListener2(&WorkerScriptDebugServer::v8DebugEventCallback, v8::External::New(m_isolate, this));
|
|
|
| v8::Handle<v8::Function> getScriptsFunction = v8::Local<v8::Function>::Cast(debuggerScript->Get(v8::String::NewSymbol("getWorkerScripts")));
|
| v8::Handle<v8::Value> value = V8ScriptRunner::callInternalFunction(getScriptsFunction, debuggerScript, 0, 0, m_isolate);
|
|
|