| 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 b9f949d19cdb8d5a1ced8ce5b9d1858cf291af75..c4f7e673b535a583320e17091009ba1bfaace6d6 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8MessageEventCustom.cpp
|
| @@ -35,6 +35,7 @@
|
| #include "bindings/core/v8/V8ArrayBuffer.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8Blob.h"
|
| +#include "bindings/core/v8/V8EventTarget.h"
|
| #include "bindings/core/v8/V8MessagePort.h"
|
| #include "bindings/core/v8/V8PrivateProperty.h"
|
| #include "bindings/core/v8/V8Window.h"
|
| @@ -110,7 +111,8 @@ void V8MessageEvent::initMessageEventMethodCustom(
|
| v8::Local<v8::Value> dataArg = info[3];
|
| TOSTRING_VOID(V8StringResource<>, originArg, info[4]);
|
| TOSTRING_VOID(V8StringResource<>, lastEventIdArg, info[5]);
|
| - EventTarget* sourceArg = toEventTarget(info.GetIsolate(), info[6]);
|
| + EventTarget* sourceArg =
|
| + V8EventTarget::toImplWithTypeCheck(info.GetIsolate(), info[6]);
|
| MessagePortArray* portArray = nullptr;
|
| const int portArrayIndex = 7;
|
| if (!isUndefinedOrNull(info[portArrayIndex])) {
|
|
|