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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/DedicatedWorkerMessagingProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/DedicatedWorkerMessagingProxy.cpp b/third_party/WebKit/Source/core/workers/DedicatedWorkerMessagingProxy.cpp
index 8df33e8ff4d5e3eeeacddce5d02b9edfaddb7de7..41b1db6799b9251b1072076acd8f119ec75c0b87 100644
--- a/third_party/WebKit/Source/core/workers/DedicatedWorkerMessagingProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/DedicatedWorkerMessagingProxy.cpp
@@ -6,6 +6,7 @@
#include "core/workers/DedicatedWorkerThread.h"
#include "core/workers/WorkerClients.h"
+#include <memory>
namespace blink {
@@ -18,7 +19,7 @@ DedicatedWorkerMessagingProxy::~DedicatedWorkerMessagingProxy()
{
}
-PassOwnPtr<WorkerThread> DedicatedWorkerMessagingProxy::createWorkerThread(double originTime)
+std::unique_ptr<WorkerThread> DedicatedWorkerMessagingProxy::createWorkerThread(double originTime)
{
return DedicatedWorkerThread::create(loaderProxy(), workerObjectProxy(), originTime);
}

Powered by Google App Engine
This is Rietveld 408576698