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

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

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/WebSocketChannelClient.h
diff --git a/third_party/WebKit/Source/modules/websockets/WebSocketChannelClient.h b/third_party/WebKit/Source/modules/websockets/WebSocketChannelClient.h
index 25f1926db639d1a3ca97a68a5ecaad11b9e3140a..3777408a94bf73a68e31f78deee5b19948059344 100644
--- a/third_party/WebKit/Source/modules/websockets/WebSocketChannelClient.h
+++ b/third_party/WebKit/Source/modules/websockets/WebSocketChannelClient.h
@@ -34,8 +34,8 @@
#include "modules/ModulesExport.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
-#include <memory>
#include <stdint.h>
namespace blink {
@@ -45,7 +45,7 @@ public:
virtual ~WebSocketChannelClient() { }
virtual void didConnect(const String& subprotocol, const String& extensions) { }
virtual void didReceiveTextMessage(const String&) { }
- virtual void didReceiveBinaryMessage(std::unique_ptr<Vector<char>>) { }
+ virtual void didReceiveBinaryMessage(PassOwnPtr<Vector<char>>) { }
virtual void didError() { }
virtual void didConsumeBufferedAmount(uint64_t consumed) { }
virtual void didStartClosingHandshake() { }

Powered by Google App Engine
This is Rietveld 408576698