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; |