diff options
Diffstat (limited to 'WebCore/bindings/v8/V8WorkerContextEventListener.h')
-rw-r--r-- | WebCore/bindings/v8/V8WorkerContextEventListener.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/WebCore/bindings/v8/V8WorkerContextEventListener.h b/WebCore/bindings/v8/V8WorkerContextEventListener.h index 3752533..3f9f862 100644 --- a/WebCore/bindings/v8/V8WorkerContextEventListener.h +++ b/WebCore/bindings/v8/V8WorkerContextEventListener.h @@ -44,22 +44,19 @@ namespace WebCore { class V8WorkerContextEventListener : public V8EventListener { public: - static PassRefPtr<V8WorkerContextEventListener> create(WorkerContextExecutionProxy* proxy, PassRefPtr<V8ListenerGuard> guard, v8::Local<v8::Object> listener, bool isInline) + static PassRefPtr<V8WorkerContextEventListener> create(PassRefPtr<V8ListenerGuard> guard, v8::Local<v8::Object> listener, bool isInline) { - return adoptRef(new V8WorkerContextEventListener(proxy, guard, listener, isInline)); + return adoptRef(new V8WorkerContextEventListener(guard, listener, isInline)); } virtual void handleEvent(ScriptExecutionContext*, Event*); - virtual bool reportError(const String& message, const String& url, int lineNumber); - - WorkerContextExecutionProxy* proxy() const { return m_proxy; } + virtual bool reportError(ScriptExecutionContext*, const String& message, const String& url, int lineNumber); private: - V8WorkerContextEventListener(WorkerContextExecutionProxy*, PassRefPtr<V8ListenerGuard>, v8::Local<v8::Object> listener, bool isInline); + V8WorkerContextEventListener(PassRefPtr<V8ListenerGuard>, v8::Local<v8::Object> listener, bool isInline); - virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*); - v8::Local<v8::Object> getReceiverObject(Event*); - WorkerContextExecutionProxy* m_proxy; + virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*); + v8::Local<v8::Object> getReceiverObject(ScriptExecutionContext*, Event*); }; } // namespace WebCore |