Index: trunk/Source/bindings/v8/V8AbstractEventListener.h |
=================================================================== |
--- trunk/Source/bindings/v8/V8AbstractEventListener.h (revision 170423) |
+++ trunk/Source/bindings/v8/V8AbstractEventListener.h (working copy) |
@@ -109,11 +109,11 @@ |
} |
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*) { } |