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

Unified Diff: third_party/WebKit/public/platform/WebDataConsumerHandle.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/public/platform/WebDataConsumerHandle.h
diff --git a/third_party/WebKit/public/platform/WebDataConsumerHandle.h b/third_party/WebKit/public/platform/WebDataConsumerHandle.h
index 4632ff9ac260e7351172a781cf1e25a94d9f4f69..4a36d05124347087c457044869ec748ec7afb342 100644
--- a/third_party/WebKit/public/platform/WebDataConsumerHandle.h
+++ b/third_party/WebKit/public/platform/WebDataConsumerHandle.h
@@ -8,7 +8,7 @@
#include <stddef.h>
#if INSIDE_BLINK
-#include <memory>
+#include "wtf/PassOwnPtr.h"
#endif
#include "public/platform/WebCommon.h"
@@ -104,7 +104,7 @@ public:
// If |client| is not null and the handle is not waiting, client
// notification is called asynchronously.
#if INSIDE_BLINK
- std::unique_ptr<Reader> obtainReader(Client*);
+ PassOwnPtr<Reader> obtainReader(Client*);
#endif
// Returns a string literal (e.g. class name) for debugging only.

Powered by Google App Engine
This is Rietveld 408576698