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

Unified Diff: third_party/WebKit/Source/platform/blob/BlobRegistry.h

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/platform/blob/BlobRegistry.h
diff --git a/third_party/WebKit/Source/platform/blob/BlobRegistry.h b/third_party/WebKit/Source/platform/blob/BlobRegistry.h
index 603cd528dbf2332171ce2b5317f986bb3a988f29..3631adc2a7cecc1d047f74ae27dabdb20260a4b3 100644
--- a/third_party/WebKit/Source/platform/blob/BlobRegistry.h
+++ b/third_party/WebKit/Source/platform/blob/BlobRegistry.h
@@ -34,8 +34,8 @@
#include "platform/PlatformExport.h"
#include "wtf/Allocator.h"
#include "wtf/Forward.h"
-#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
+#include <memory>
namespace blink {
@@ -50,7 +50,7 @@ class PLATFORM_EXPORT BlobRegistry {
STATIC_ONLY(BlobRegistry);
public:
// Methods for controlling Blobs.
- static void registerBlobData(const String& uuid, PassOwnPtr<BlobData>);
+ static void registerBlobData(const String& uuid, std::unique_ptr<BlobData>);
static void addBlobDataRef(const String& uuid);
static void removeBlobDataRef(const String& uuid);
static void registerPublicBlobURL(SecurityOrigin*, const KURL&, PassRefPtr<BlobDataHandle>);
« no previous file with comments | « third_party/WebKit/Source/platform/blob/BlobDataTest.cpp ('k') | third_party/WebKit/Source/platform/blob/BlobRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698