Index: Source/bindings/v8/V8AbstractEventListener.cpp |
diff --git a/Source/bindings/v8/V8AbstractEventListener.cpp b/Source/bindings/v8/V8AbstractEventListener.cpp |
index 61720ea24cdda787b5402d75247c7e788b664d42..dc7453750b664b6b1ac0ce3c6ee9e2dab0438d29 100644 |
--- a/Source/bindings/v8/V8AbstractEventListener.cpp |
+++ b/Source/bindings/v8/V8AbstractEventListener.cpp |
@@ -43,7 +43,7 @@ |
namespace WebCore { |
-V8AbstractEventListener::V8AbstractEventListener(bool isAttribute, DOMWrapperWorld* world, v8::Isolate* isolate) |
+V8AbstractEventListener::V8AbstractEventListener(bool isAttribute, DOMWrapperWorld& world, v8::Isolate* isolate) |
: EventListener(JSEventListenerType) |
, m_isAttribute(isAttribute) |
, m_world(world) |
@@ -177,7 +177,7 @@ v8::Local<v8::Object> V8AbstractEventListener::getReceiverObject(ExecutionContex |
bool V8AbstractEventListener::belongsToTheCurrentWorld() const |
{ |
- return m_isolate->InContext() && m_world == DOMWrapperWorld::current(m_isolate); |
+ return m_isolate->InContext() && m_world == &DOMWrapperWorld::current(m_isolate); |
} |
void V8AbstractEventListener::setWeakCallback(const v8::WeakCallbackData<v8::Object, V8AbstractEventListener> &data) |