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

Unified Diff: third_party/WebKit/Source/core/dom/MessageChannel.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/MessagePort.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/MessageChannel.cpp
diff --git a/third_party/WebKit/Source/core/dom/MessageChannel.cpp b/third_party/WebKit/Source/core/dom/MessageChannel.cpp
index efcbc1e2509d3cd9944f21c74302e6b490c780de..864ef9486b907d17f9b990e9c4cc44aa9a28f77a 100644
--- a/third_party/WebKit/Source/core/dom/MessageChannel.cpp
+++ b/third_party/WebKit/Source/core/dom/MessageChannel.cpp
@@ -41,8 +41,8 @@ static void createChannel(MessagePort* port1, MessagePort* port2)
DCHECK(channel2);
// Now entangle the proxies with the appropriate local ports.
- port1->entangle(adoptPtr(channel2));
- port2->entangle(adoptPtr(channel1));
+ port1->entangle(WebMessagePortChannelUniquePtr(channel2));
+ port2->entangle(WebMessagePortChannelUniquePtr(channel1));
}
MessageChannel::MessageChannel(ExecutionContext* context)
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/MessagePort.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698