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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBValue.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/modules/indexeddb/IDBValue.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBValue.h b/third_party/WebKit/Source/modules/indexeddb/IDBValue.h
index 69fd9c6abe53d0c607d4c82611b39f72c79bf76c..84cccd758ceb5c056b6e369351bccc762cb0586d 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBValue.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBValue.h
@@ -10,8 +10,8 @@
#include "modules/indexeddb/IDBKeyPath.h"
#include "platform/SharedBuffer.h"
#include "public/platform/WebVector.h"
-#include "wtf/OwnPtr.h"
#include "wtf/RefPtr.h"
+#include <memory>
namespace blink {
@@ -39,8 +39,8 @@ private:
IDBValue(const IDBValue*, IDBKey*, const IDBKeyPath&);
const RefPtr<SharedBuffer> m_data;
- const OwnPtr<Vector<RefPtr<BlobDataHandle>>> m_blobData;
- const OwnPtr<Vector<WebBlobInfo>> m_blobInfo;
+ const std::unique_ptr<Vector<RefPtr<BlobDataHandle>>> m_blobData;
+ const std::unique_ptr<Vector<WebBlobInfo>> m_blobInfo;
const Persistent<IDBKey> m_primaryKey;
const IDBKeyPath m_keyPath;
};

Powered by Google App Engine
This is Rietveld 408576698