Index: Source/bindings/v8/V8AbstractEventListener.h |
diff --git a/Source/bindings/v8/V8AbstractEventListener.h b/Source/bindings/v8/V8AbstractEventListener.h |
index 37b1542ab045e8db6858a8f064aec35466ef51d3..ecae8f13b16c0ea1acd26013a661ac6c3c8aaa1d 100644 |
--- a/Source/bindings/v8/V8AbstractEventListener.h |
+++ b/Source/bindings/v8/V8AbstractEventListener.h |
@@ -109,11 +109,11 @@ namespace WebCore { |
} |
virtual bool belongsToTheCurrentWorld() const OVERRIDE FINAL; |
- virtual DOMWrapperWorld* world() const OVERRIDE FINAL { return m_world.get(); } |
+ DOMWrapperWorld& world() const { return *m_world; } |
v8::Isolate* isolate() const { return m_isolate; } |
protected: |
- V8AbstractEventListener(bool isAttribute, DOMWrapperWorld*, v8::Isolate*); |
+ V8AbstractEventListener(bool isAttribute, DOMWrapperWorld&, v8::Isolate*); |
virtual void prepareListenerObject(ExecutionContext*) { } |