Index: Source/bindings/v8/V8Callback.cpp |
diff --git a/Source/bindings/v8/V8Callback.cpp b/Source/bindings/v8/V8Callback.cpp |
index d103c34989111184e978bc67f4d011af22a58c8d..33ba790616501c4e57f787523a8ebf25074bb26a 100644 |
--- a/Source/bindings/v8/V8Callback.cpp |
+++ b/Source/bindings/v8/V8Callback.cpp |
@@ -48,7 +48,7 @@ bool invokeCallback(v8::Handle<v8::Object> callback, v8::Handle<v8::Object> this |
v8::Local<v8::Function> callbackFunction; |
if (callback->IsFunction()) { |
- callbackFunction = v8::Local<v8::Function>::New(v8::Handle<v8::Function>::Cast(callback)); |
+ callbackFunction = v8::Local<v8::Function>::New(isolate, v8::Handle<v8::Function>::Cast(callback)); |
} else if (callback->IsObject()) { |
v8::Local<v8::Value> handleEventFunction = callback->Get(v8::String::NewSymbol("handleEvent")); |
if (handleEventFunction->IsFunction()) |