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

Unified Diff: third_party/WebKit/Source/web/WebPepperSocketImpl.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/web/WebPepperSocketImpl.h
diff --git a/third_party/WebKit/Source/web/WebPepperSocketImpl.h b/third_party/WebKit/Source/web/WebPepperSocketImpl.h
index 62c67261ccfa5b343c6744c50b857f44979fa739..cc5dea8653f88220f2998b71c48c26708df11971 100644
--- a/third_party/WebKit/Source/web/WebPepperSocketImpl.h
+++ b/third_party/WebKit/Source/web/WebPepperSocketImpl.h
@@ -37,8 +37,8 @@
#include "public/platform/WebString.h"
#include "public/web/WebPepperSocket.h"
#include "public/web/WebPepperSocketClient.h"
-#include "wtf/OwnPtr.h"
#include "wtf/RefPtr.h"
+#include <memory>
namespace blink {
@@ -69,7 +69,7 @@ public:
// WebSocketChannelClient methods proxied by WebPepperSocketChannelClientProxy.
void didConnect(const String& subprotocol, const String& extensions);
void didReceiveTextMessage(const String& payload);
- void didReceiveBinaryMessage(PassOwnPtr<Vector<char>> payload);
+ void didReceiveBinaryMessage(std::unique_ptr<Vector<char>> payload);
void didError();
void didConsumeBufferedAmount(unsigned long consumed);
void didStartClosingHandshake();

Powered by Google App Engine
This is Rietveld 408576698