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: |