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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 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);

Powered by Google App Engine
This is Rietveld 408576698