Index: Source/bindings/v8/V8EventListener.cpp |
diff --git a/Source/bindings/v8/V8EventListener.cpp b/Source/bindings/v8/V8EventListener.cpp |
index 207bdf5c5f0560fe463e1ad8daecbd2b3e5810b6..b8bfc96f91b9b1d2ab48606b7831d1802e4cab69 100644 |
--- a/Source/bindings/v8/V8EventListener.cpp |
+++ b/Source/bindings/v8/V8EventListener.cpp |
@@ -38,8 +38,8 @@ |
namespace WebCore { |
-V8EventListener::V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, v8::Isolate* isolate) |
- : V8AbstractEventListener(isAttribute, DOMWrapperWorld::current(isolate), isolate) |
+V8EventListener::V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState) |
+ : V8AbstractEventListener(isAttribute, scriptState) |
{ |
setListenerObject(listener); |
} |
@@ -71,7 +71,7 @@ v8::Local<v8::Value> V8EventListener::callListenerFunction(ExecutionContext* con |
{ |
v8::Local<v8::Function> handlerFunction = getListenerFunction(context); |
- v8::Local<v8::Object> receiver = getReceiverObject(context, event); |
+ v8::Local<v8::Object> receiver = getReceiverObject(event); |
if (handlerFunction.IsEmpty() || receiver.IsEmpty()) |
return v8::Local<v8::Value>(); |