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