Index: Source/bindings/v8/custom/V8MessageEventCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8MessageEventCustom.cpp b/Source/bindings/v8/custom/V8MessageEventCustom.cpp |
index 906ee9bae55de50670ae76e256caf6a34208e839..24fb92bf39401343b086a2564f495df2a34c3bc7 100644 |
--- a/Source/bindings/v8/custom/V8MessageEventCustom.cpp |
+++ b/Source/bindings/v8/custom/V8MessageEventCustom.cpp |
@@ -36,8 +36,8 @@ |
#include "V8ArrayBuffer.h" |
#include "V8Blob.h" |
+#include "V8DOMWindow.h" |
#include "V8MessagePort.h" |
-#include "V8Window.h" |
#include "bindings/v8/V8Binding.h" |
namespace WebCore { |
@@ -100,9 +100,9 @@ void V8MessageEvent::initMessageEventMethodCustom(const v8::FunctionCallbackInfo |
DOMWindow* sourceArg = 0; |
if (args[6]->IsObject()) { |
v8::Handle<v8::Object> wrapper = v8::Handle<v8::Object>::Cast(args[6]); |
- v8::Handle<v8::Object> window = wrapper->FindInstanceInPrototypeChain(V8Window::GetTemplate(args.GetIsolate(), worldTypeInMainThread(args.GetIsolate()))); |
+ v8::Handle<v8::Object> window = wrapper->FindInstanceInPrototypeChain(V8DOMWindow::GetTemplate(args.GetIsolate(), worldTypeInMainThread(args.GetIsolate()))); |
if (!window.IsEmpty()) |
- sourceArg = V8Window::toNative(window); |
+ sourceArg = V8DOMWindow::toNative(window); |
} |
OwnPtr<MessagePortArray> portArray; |