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

Unified Diff: third_party/WebKit/Source/web/WebPepperSocketChannelClientProxy.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/web/WebPepperSocketChannelClientProxy.h
diff --git a/third_party/WebKit/Source/web/WebPepperSocketChannelClientProxy.h b/third_party/WebKit/Source/web/WebPepperSocketChannelClientProxy.h
index fc714ba5873b1bc3f2fe853d8f1d7f09b4ea8604..0c35cbe059506d1f38d0f6b2715d4d59cdecf54d 100644
--- a/third_party/WebKit/Source/web/WebPepperSocketChannelClientProxy.h
+++ b/third_party/WebKit/Source/web/WebPepperSocketChannelClientProxy.h
@@ -8,9 +8,9 @@
#include "modules/websockets/WebSocketChannelClient.h"
#include "platform/heap/Handle.h"
#include "web/WebPepperSocketImpl.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
-#include <memory>
#include <stdint.h>
namespace blink {
@@ -36,7 +36,7 @@ public:
{
m_impl->didReceiveTextMessage(payload);
}
- void didReceiveBinaryMessage(std::unique_ptr<Vector<char>> payload) override
+ void didReceiveBinaryMessage(PassOwnPtr<Vector<char>> payload) override
{
m_impl->didReceiveBinaryMessage(std::move(payload));
}
« no previous file with comments | « third_party/WebKit/Source/web/WebPepperSocket.cpp ('k') | third_party/WebKit/Source/web/WebPepperSocketImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698