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

Unified Diff: third_party/WebKit/Source/core/workers/SharedWorker.cpp

Issue 2043583002: Remove the use of OwnedPtrDeleter in WebMessagePortChannel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/core/workers/SharedWorker.cpp
diff --git a/third_party/WebKit/Source/core/workers/SharedWorker.cpp b/third_party/WebKit/Source/core/workers/SharedWorker.cpp
index d73595be66edbe7b325ea66eba0f13281f074ebc..d0bca97f54c647fa9babf0bcaaf6203c5e402fb5 100644
--- a/third_party/WebKit/Source/core/workers/SharedWorker.cpp
+++ b/third_party/WebKit/Source/core/workers/SharedWorker.cpp
@@ -64,7 +64,7 @@ SharedWorker* SharedWorker::create(ExecutionContext* context, const String& url,
MessageChannel* channel = MessageChannel::create(context);
worker->m_port = channel->port1();
- OwnPtr<WebMessagePortChannel> remotePort = channel->port2()->disentangle();
+ WebMessagePortChannelUniquePtr remotePort = channel->port2()->disentangle();
DCHECK(remotePort);
worker->suspendIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698