Upstream version 9.37.197.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / v8 / V8EventListener.h
index 772525e..93296ae 100644 (file)
@@ -44,17 +44,17 @@ namespace WebCore {
     // that can handle the event.
     class V8EventListener : public V8AbstractEventListener {
     public:
-        static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, v8::Isolate* isolate)
+        static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState)
         {
-            return adoptRef(new V8EventListener(listener, isAttribute, isolate));
+            return adoptRef(new V8EventListener(listener, isAttribute, scriptState));
         }
 
     protected:
-        V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, v8::Isolate*);
+        V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, ScriptState*);
 
         v8::Local<v8::Function> getListenerFunction(ExecutionContext*);
 
-        virtual v8::Local<v8::Value> callListenerFunction(ExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE;
+        virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE;
      };
 
 } // namespace WebCore