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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/CompositorWorkerMessagingProxy.cpp

Issue 2080623002: Revert "Remove OwnPtr from Blink." (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/modules/compositorworker/CompositorWorkerMessagingProxy.cpp
diff --git a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerMessagingProxy.cpp b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerMessagingProxy.cpp
index c6c7e9113f456e1b696f0397fdbba01773bee280..6ad530b34dedc9650e86d6d238e773613eb5b961 100644
--- a/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerMessagingProxy.cpp
+++ b/third_party/WebKit/Source/modules/compositorworker/CompositorWorkerMessagingProxy.cpp
@@ -6,7 +6,6 @@
#include "core/workers/WorkerThreadStartupData.h"
#include "modules/compositorworker/CompositorWorkerThread.h"
-#include <memory>
namespace blink {
@@ -19,7 +18,7 @@ CompositorWorkerMessagingProxy::~CompositorWorkerMessagingProxy()
{
}
-std::unique_ptr<WorkerThread> CompositorWorkerMessagingProxy::createWorkerThread(double originTime)
+PassOwnPtr<WorkerThread> CompositorWorkerMessagingProxy::createWorkerThread(double originTime)
{
return CompositorWorkerThread::create(loaderProxy(), workerObjectProxy(), originTime);
}

Powered by Google App Engine
This is Rietveld 408576698