Index: Source/bindings/v8/V8EventListenerList.cpp |
diff --git a/Source/bindings/v8/V8EventListenerList.cpp b/Source/bindings/v8/V8EventListenerList.cpp |
index 85c09623bc67130d404624f0122133192fea2054..b3ecffb829232e048de1318c7861ed43b699d4e6 100644 |
--- a/Source/bindings/v8/V8EventListenerList.cpp |
+++ b/Source/bindings/v8/V8EventListenerList.cpp |
@@ -31,7 +31,7 @@ |
#include "config.h" |
#include "bindings/v8/V8EventListenerList.h" |
-#include "V8Window.h" |
+#include "V8DOMWindow.h" |
#include "bindings/v8/V8Binding.h" |
#include "bindings/v8/V8WorkerContextEventListener.h" |
@@ -44,7 +44,7 @@ PassRefPtr<EventListener> V8EventListenerList::getEventListener(v8::Local<v8::Va |
return 0; |
if (lookup == ListenerFindOnly) |
return V8EventListenerList::findWrapper(value, isAttribute); |
- if (V8DOMWrapper::isWrapperOfType(toInnerGlobalObject(context), &V8Window::info)) |
+ if (V8DOMWrapper::isWrapperOfType(toInnerGlobalObject(context), &V8DOMWindow::info)) |
return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, isAttribute); |
return V8EventListenerList::findOrCreateWrapper<V8WorkerContextEventListener>(value, isAttribute); |
} |