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

Unified Diff: third_party/WebKit/Source/modules/websockets/WebSocketChannel.cpp

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

Powered by Google App Engine
This is Rietveld 408576698