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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerGlobalScopeProxy.h

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/InProcessWorkerGlobalScopeProxy.h
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerGlobalScopeProxy.h b/third_party/WebKit/Source/core/workers/InProcessWorkerGlobalScopeProxy.h
index 419ae2d422ded9e13f47d6fb9a1154e4b79df159..0022c078fb2e5e66a340a7848c91499382030a12 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerGlobalScopeProxy.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerGlobalScopeProxy.h
@@ -35,7 +35,7 @@
#include "core/dom/MessagePort.h"
#include "core/workers/WorkerThread.h"
#include "wtf/Forward.h"
-#include "wtf/PassOwnPtr.h"
+#include <memory>
namespace blink {
@@ -51,7 +51,7 @@ public:
virtual void terminateWorkerGlobalScope() = 0;
- virtual void postMessageToWorkerGlobalScope(PassRefPtr<SerializedScriptValue>, PassOwnPtr<MessagePortChannelArray>) = 0;
+ virtual void postMessageToWorkerGlobalScope(PassRefPtr<SerializedScriptValue>, std::unique_ptr<MessagePortChannelArray>) = 0;
virtual bool hasPendingActivity() const = 0;

Powered by Google App Engine
This is Rietveld 408576698