| Index: Source/bindings/dart/custom/DartMessageEventCustom.cpp
|
| diff --git a/Source/bindings/dart/custom/DartMessageEventCustom.cpp b/Source/bindings/dart/custom/DartMessageEventCustom.cpp
|
| index 77afcb35e866146c6707bbc58880755bb23e4397..316a49a661b7e851eceb471a7bf3a46cd7a585c7 100644
|
| --- a/Source/bindings/dart/custom/DartMessageEventCustom.cpp
|
| +++ b/Source/bindings/dart/custom/DartMessageEventCustom.cpp
|
| @@ -123,7 +123,7 @@ void initMessageEventCallback(Dart_NativeArguments args)
|
| if (exception)
|
| goto fail;
|
|
|
| - LocalDOMWindow* sourceArg = DartWindow::toNative(Dart_GetNativeArgument(args, 7), exception);
|
| + LocalDOMWindow* sourceArg = DartWindow::toNativeWithNullCheck(Dart_GetNativeArgument(args, 7), exception);
|
| if (exception)
|
| goto fail;
|
|
|
|
|