| Index: third_party/WebKit/Source/web/WebDOMMessageEvent.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebDOMMessageEvent.cpp b/third_party/WebKit/Source/web/WebDOMMessageEvent.cpp
|
| index 15e82364a5abdd2e34a2f6f7b410a5429944c904..d16262ac4240be85f89450d388baca0173ac916c 100644
|
| --- a/third_party/WebKit/Source/web/WebDOMMessageEvent.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDOMMessageEvent.cpp
|
| @@ -51,7 +51,7 @@ WebDOMMessageEvent::WebDOMMessageEvent(const WebSerializedScriptValue& messageDa
|
| window = sourceFrame->toImplBase()->frame()->domWindow();
|
| MessagePortArray* ports = nullptr;
|
| if (!targetDocument.isNull()) {
|
| - RefPtrWillBeRawPtr<Document> coreDocument = PassRefPtrWillBeRawPtr<Document>(targetDocument);
|
| + RawPtr<Document> coreDocument = RawPtr<Document>(targetDocument);
|
| ports = MessagePort::toMessagePortArray(coreDocument.get(), channels);
|
| }
|
| // Use an empty array for |ports| when it is null because this function
|
|
|