summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h')
-rw-r--r--chromium/third_party/WebKit/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/chromium/third_party/WebKit/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h b/chromium/third_party/WebKit/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
index 1acf7c44d7d..355a424afbc 100644
--- a/chromium/third_party/WebKit/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
+++ b/chromium/third_party/WebKit/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
@@ -39,21 +39,21 @@ namespace WebCore {
class Event;
- class V8WorkerGlobalScopeEventListener : public V8EventListener {
+ class V8WorkerGlobalScopeEventListener FINAL : public V8EventListener {
public:
- static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline, v8::Isolate* isolate)
+ static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState)
{
- return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline, isolate));
+ return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline, scriptState));
}
- virtual void handleEvent(ExecutionContext*, Event*);
+ virtual void handleEvent(ExecutionContext*, Event*) OVERRIDE;
protected:
- V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline, v8::Isolate*);
+ V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline, ScriptState*);
private:
- virtual v8::Local<v8::Value> callListenerFunction(ExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*);
- v8::Local<v8::Object> getReceiverObject(ExecutionContext*, Event*);
+ virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE;
+ v8::Local<v8::Object> getReceiverObject(Event*);
};
} // namespace WebCore