Index: third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp |
diff --git a/third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp b/third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp |
index 49e46a182541c4ccf13584d80a3bad87818a0d18..3cbc754a5646598edc3c1b6c9eef93a4855fad32 100644 |
--- a/third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp |
+++ b/third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp |
@@ -38,6 +38,7 @@ |
#include "modules/websockets/DocumentWebSocketChannel.h" |
#include "modules/websockets/WebSocketChannelClient.h" |
#include "modules/websockets/WorkerWebSocketChannel.h" |
+#include <memory> |
namespace blink { |
@@ -46,7 +47,7 @@ WebSocketChannel* WebSocketChannel::create(ExecutionContext* context, WebSocketC |
ASSERT(context); |
ASSERT(client); |
- OwnPtr<SourceLocation> location = SourceLocation::capture(context); |
+ std::unique_ptr<SourceLocation> location = SourceLocation::capture(context); |
if (context->isWorkerGlobalScope()) { |
WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); |