Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Unified Diff: third_party/WebKit/Source/web/WebDOMMessageEvent.cpp

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d16262ac4240be85f89450d388baca0173ac916c..02f33d99aa5a3196a73fa53dc1957aa83b84e7fd 100644
--- a/third_party/WebKit/Source/web/WebDOMMessageEvent.cpp
+++ b/third_party/WebKit/Source/web/WebDOMMessageEvent.cpp
@@ -51,8 +51,8 @@ WebDOMMessageEvent::WebDOMMessageEvent(const WebSerializedScriptValue& messageDa
window = sourceFrame->toImplBase()->frame()->domWindow();
MessagePortArray* ports = nullptr;
if (!targetDocument.isNull()) {
- RawPtr<Document> coreDocument = RawPtr<Document>(targetDocument);
- ports = MessagePort::toMessagePortArray(coreDocument.get(), channels);
+ Document* coreDocument = targetDocument;
+ ports = MessagePort::toMessagePortArray(coreDocument, channels);
}
// Use an empty array for |ports| when it is null because this function
// is used to implement postMessage().
« no previous file with comments | « third_party/WebKit/Source/web/WebDOMMediaStreamTrack.cpp ('k') | third_party/WebKit/Source/web/WebDataSourceImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698