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

Unified Diff: third_party/WebKit/Source/web/WebPepperSocketImpl.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/web/WebPepperSocketImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp b/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp
index 2a65d508df57f29ffc9b5c992c87504743ee7db2..d2256833567b822fa4073f3f8a63366eb903ad40 100644
--- a/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPepperSocketImpl.cpp
@@ -42,6 +42,7 @@
#include "web/WebPepperSocketChannelClientProxy.h"
#include "wtf/text/CString.h"
#include "wtf/text/WTFString.h"
+#include <memory>
namespace blink {
@@ -164,7 +165,7 @@ void WebPepperSocketImpl::didReceiveTextMessage(const String& payload)
m_client->didReceiveMessage(WebString(payload));
}
-void WebPepperSocketImpl::didReceiveBinaryMessage(PassOwnPtr<Vector<char>> payload)
+void WebPepperSocketImpl::didReceiveBinaryMessage(std::unique_ptr<Vector<char>> payload)
{
switch (m_binaryType) {
case BinaryTypeBlob:
« no previous file with comments | « third_party/WebKit/Source/web/WebPepperSocketImpl.h ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698