Index: Source/bindings/core/v8/ScriptEventListener.cpp |
diff --git a/Source/bindings/core/v8/ScriptEventListener.cpp b/Source/bindings/core/v8/ScriptEventListener.cpp |
index 18cacaf50fcabe392922a3eefe1a867f510b96eb..5b43742f71c87816f6bc473c9db844cd810b2e1c 100644 |
--- a/Source/bindings/core/v8/ScriptEventListener.cpp |
+++ b/Source/bindings/core/v8/ScriptEventListener.cpp |
@@ -35,7 +35,7 @@ |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/V8AbstractEventListener.h" |
#include "bindings/core/v8/V8Binding.h" |
-#include "bindings/core/v8/V8WindowShell.h" |
+#include "bindings/core/v8/WindowProxy.h" |
#include "core/dom/Document.h" |
#include "core/dom/DocumentParser.h" |
#include "core/dom/QualifiedName.h" |
@@ -148,7 +148,7 @@ ScriptState* eventListenerHandlerScriptState(LocalFrame* frame, EventListener* l |
return 0; |
V8AbstractEventListener* v8Listener = static_cast<V8AbstractEventListener*>(listener); |
v8::HandleScope scope(toIsolate(frame)); |
- v8::Handle<v8::Context> v8Context = frame->script().windowShell(v8Listener->world())->context(); |
+ v8::Handle<v8::Context> v8Context = frame->script().windowProxy(v8Listener->world())->context(); |
return ScriptState::from(v8Context); |
} |