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

Unified Diff: third_party/WebKit/public/platform/WebBlobData.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/WebBlobData.h
diff --git a/third_party/WebKit/public/platform/WebBlobData.h b/third_party/WebKit/public/platform/WebBlobData.h
index 6c028ae18deddea84163bc8e1638418231ba328b..2674210dd698ee41dbd7dfda7121508ce397c681 100644
--- a/third_party/WebKit/public/platform/WebBlobData.h
+++ b/third_party/WebKit/public/platform/WebBlobData.h
@@ -38,7 +38,8 @@
#include "WebURL.h"
#if INSIDE_BLINK
-#include <memory>
+#include "wtf/OwnPtr.h"
+#include "wtf/PassOwnPtr.h"
#endif
namespace blink {
@@ -77,9 +78,9 @@ public:
BLINK_PLATFORM_EXPORT WebString contentType() const;
#if INSIDE_BLINK
- BLINK_PLATFORM_EXPORT WebBlobData(std::unique_ptr<BlobData>);
- BLINK_PLATFORM_EXPORT WebBlobData& operator=(std::unique_ptr<BlobData>);
- BLINK_PLATFORM_EXPORT operator std::unique_ptr<BlobData>();
+ BLINK_PLATFORM_EXPORT WebBlobData(WTF::PassOwnPtr<BlobData>);
+ BLINK_PLATFORM_EXPORT WebBlobData& operator=(WTF::PassOwnPtr<BlobData>);
+ BLINK_PLATFORM_EXPORT operator WTF::PassOwnPtr<BlobData>();
#endif
private:
« no previous file with comments | « third_party/WebKit/Source/wtf/wtf.gypi ('k') | third_party/WebKit/public/platform/WebContentSettingCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698