| Index: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
|
| index ff099ff371e0b2c35bbc57c6bd76d8b60d963a51..51fe1356a8dceca0a69ea168e254ad28d5dd8355 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
|
| @@ -43,10 +43,9 @@
|
| #include "modules/indexeddb/IndexedDB.h"
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/modules/indexeddb/WebIDBDatabase.h"
|
| -#include "wtf/OwnPtr.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefPtr.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -61,7 +60,7 @@ class MODULES_EXPORT IDBDatabase final
|
| USING_GARBAGE_COLLECTED_MIXIN(IDBDatabase);
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static IDBDatabase* create(ExecutionContext*, PassOwnPtr<WebIDBDatabase>, IDBDatabaseCallbacks*);
|
| + static IDBDatabase* create(ExecutionContext*, std::unique_ptr<WebIDBDatabase>, IDBDatabaseCallbacks*);
|
| ~IDBDatabase() override;
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| @@ -140,13 +139,13 @@ protected:
|
| DispatchEventResult dispatchEventInternal(Event*) override;
|
|
|
| private:
|
| - IDBDatabase(ExecutionContext*, PassOwnPtr<WebIDBDatabase>, IDBDatabaseCallbacks*);
|
| + IDBDatabase(ExecutionContext*, std::unique_ptr<WebIDBDatabase>, IDBDatabaseCallbacks*);
|
|
|
| IDBObjectStore* createObjectStore(const String& name, const IDBKeyPath&, bool autoIncrement, ExceptionState&);
|
| void closeConnection();
|
|
|
| IDBDatabaseMetadata m_metadata;
|
| - OwnPtr<WebIDBDatabase> m_backend;
|
| + std::unique_ptr<WebIDBDatabase> m_backend;
|
| Member<IDBTransaction> m_versionChangeTransaction;
|
| HeapHashMap<int64_t, Member<IDBTransaction>> m_transactions;
|
|
|
|
|