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

Unified Diff: third_party/WebKit/Source/modules/websockets/DOMWebSocket.h

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/DOMWebSocket.h
diff --git a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.h b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.h
index 2badc24f9df9d77a23fb288915b53c16085ffa80..15fb73809e5d204c037160df13f04c0d8e9e352c 100644
--- a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.h
+++ b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.h
@@ -48,6 +48,7 @@
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
#include "wtf/text/WTFString.h"
+#include <memory>
#include <stdint.h>
namespace blink {
@@ -127,7 +128,7 @@ public:
// WebSocketChannelClient functions.
void didConnect(const String& subprotocol, const String& extensions) override;
void didReceiveTextMessage(const String& message) override;
- void didReceiveBinaryMessage(PassOwnPtr<Vector<char>>) override;
+ void didReceiveBinaryMessage(std::unique_ptr<Vector<char>>) override;
void didError() override;
void didConsumeBufferedAmount(uint64_t) override;
void didStartClosingHandshake() override;

Powered by Google App Engine
This is Rietveld 408576698