Index: Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp |
diff --git a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp |
index 51db2a8fa0745477bd5bb7ccbcd720a8e1b22a38..f2fee0d4dd58bdde6f150ad5cb545adc2308bb26 100644 |
--- a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp |
+++ b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp |
@@ -97,8 +97,9 @@ v8::Local<v8::Value> V8WorkerGlobalScopeEventListener::callListenerFunction(Scri |
cookie = InspectorInstrumentation::willCallFunction(context, resourceName, lineNumber); |
} |
+ v8::Isolate* isolate = getIsolateFromScriptExecutionContext(context); |
v8::Handle<v8::Value> parameters[1] = { jsEvent }; |
- v8::Local<v8::Value> result = V8ScriptRunner::callFunction(handlerFunction, context, receiver, WTF_ARRAY_LENGTH(parameters), parameters); |
+ v8::Local<v8::Value> result = V8ScriptRunner::callFunction(handlerFunction, context, receiver, WTF_ARRAY_LENGTH(parameters), parameters, isolate); |
InspectorInstrumentation::didCallFunction(cookie); |