| Index: Source/bindings/v8/custom/V8MessageEventCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8MessageEventCustom.cpp b/Source/bindings/v8/custom/V8MessageEventCustom.cpp
|
| index 145af08fab3b344eabb04e21bb0052206d1a9ab4..23bf5c5fc940c9950d3bde92b6794e5cc8140c5e 100644
|
| --- a/Source/bindings/v8/custom/V8MessageEventCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8MessageEventCustom.cpp
|
| @@ -143,12 +143,12 @@ void V8MessageEvent::initMessageEventMethodCustom(const v8::FunctionCallbackInfo
|
| TOSTRING_VOID(V8StringResource<>, originArg, info[4]);
|
| TOSTRING_VOID(V8StringResource<>, lastEventIdArg, info[5]);
|
| LocalDOMWindow* sourceArg = toDOMWindow(info[6], info.GetIsolate());
|
| - OwnPtr<MessagePortArray> portArray;
|
| + OwnPtrWillBeRawPtr<MessagePortArray> portArray = nullptr;
|
| const int portArrayIndex = 7;
|
| if (!isUndefinedOrNull(info[portArrayIndex])) {
|
| - portArray = adoptPtr(new MessagePortArray);
|
| + portArray = adoptPtrWillBeNoop(new MessagePortArray);
|
| bool success = false;
|
| - *portArray = toRefPtrNativeArray<MessagePort, V8MessagePort>(info[portArrayIndex], portArrayIndex + 1, info.GetIsolate(), &success);
|
| + *portArray = toRefPtrWillBeMemberNativeArray<MessagePort, V8MessagePort>(info[portArrayIndex], portArrayIndex + 1, info.GetIsolate(), &success);
|
| if (!success)
|
| return;
|
| }
|
|
|