Index: Source/bindings/v8/V8AbstractEventListener.h |
diff --git a/Source/bindings/v8/V8AbstractEventListener.h b/Source/bindings/v8/V8AbstractEventListener.h |
index e13565d6e1e4f80fa1bed8dd0944efc0ded7ede8..2c79bdaa3ced99732b62010215271ced1c135be9 100644 |
--- a/Source/bindings/v8/V8AbstractEventListener.h |
+++ b/Source/bindings/v8/V8AbstractEventListener.h |
@@ -31,10 +31,10 @@ |
#ifndef V8AbstractEventListener_h |
#define V8AbstractEventListener_h |
+#include "DOMWrapperWorld.h" |
#include "EventListener.h" |
#include "ScopedPersistent.h" |
#include "V8Utilities.h" |
-#include "WorldContextHandle.h" |
#include <v8.h> |
#include <wtf/PassRefPtr.h> |
#include <wtf/RefCounted.h> |
@@ -105,10 +105,10 @@ namespace WebCore { |
return !m_listener.isEmpty(); |
} |
- const WorldContextHandle& worldContext() const { return m_worldContext; } |
+ DOMWrapperWorld* world() const { return m_world.get(); } |
protected: |
- V8AbstractEventListener(bool isAttribute, const WorldContextHandle&, v8::Isolate*); |
+ V8AbstractEventListener(bool isAttribute, PassRefPtr<DOMWrapperWorld>, v8::Isolate*); |
virtual void prepareListenerObject(ScriptExecutionContext*) { } |
@@ -134,7 +134,7 @@ namespace WebCore { |
// Indicates if this is an HTML type listener. |
bool m_isAttribute; |
- WorldContextHandle m_worldContext; |
+ RefPtr<DOMWrapperWorld> m_world; |
v8::Isolate* m_isolate; |
}; |