Index: third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp |
index d7b32a1b3584d6546fa4b96e2e97bda3528b01d8..93d36fd389c2fda3ce926bc194bf989f6fce18c5 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp |
@@ -110,7 +110,7 @@ void V8MessageEvent::initMessageEventMethodCustom( |
v8::Local<v8::Value> dataArg = info[3]; |
TOSTRING_VOID(V8StringResource<>, originArg, info[4]); |
TOSTRING_VOID(V8StringResource<>, lastEventIdArg, info[5]); |
- DOMWindow* sourceArg = toDOMWindow(info.GetIsolate(), info[6]); |
+ EventTarget* sourceArg = toEventTarget(info.GetIsolate(), info[6]); |
MessagePortArray* portArray = nullptr; |
const int portArrayIndex = 7; |
if (!isUndefinedOrNull(info[portArrayIndex])) { |