| Index: content/browser/indexed_db/database_impl.h
|
| diff --git a/content/browser/indexed_db/database_impl.h b/content/browser/indexed_db/database_impl.h
|
| index bb5e9f0fb7183d1af51906332899f9e3760188be..0edd128d8ad775514f7cff8bf452e13788040310 100644
|
| --- a/content/browser/indexed_db/database_impl.h
|
| +++ b/content/browser/indexed_db/database_impl.h
|
| @@ -18,7 +18,7 @@ class DatabaseImpl : public ::indexed_db::mojom::Database {
|
| public:
|
| explicit DatabaseImpl(std::unique_ptr<IndexedDBConnection> connection,
|
| const url::Origin& origin,
|
| - scoped_refptr<IndexedDBDispatcherHost> dispatcher_host);
|
| + IndexedDBDispatcherHost* dispatcher_host);
|
| ~DatabaseImpl() override;
|
|
|
| // ::indexed_db::mojom::Database implementation
|
| @@ -60,7 +60,7 @@ class DatabaseImpl : public ::indexed_db::mojom::Database {
|
| ::indexed_db::mojom::CallbacksAssociatedPtrInfo callbacks) override;
|
| void Put(int64_t transaction_id,
|
| int64_t object_store_id,
|
| - indexed_db::mojom::ValuePtr value,
|
| + ::indexed_db::mojom::ValuePtr value,
|
| const IndexedDBKey& key,
|
| blink::WebIDBPutMode mode,
|
| const std::vector<IndexedDBIndexKeys>& index_keys,
|
| @@ -118,7 +118,9 @@ class DatabaseImpl : public ::indexed_db::mojom::Database {
|
| class IDBThreadHelper;
|
|
|
| IDBThreadHelper* helper_;
|
| - scoped_refptr<IndexedDBDispatcherHost> dispatcher_host_;
|
| + // This raw pointer is safe because all DatabaseImpl instances are owned by
|
| + // an IndexedDBDispatcherHost.
|
| + IndexedDBDispatcherHost* dispatcher_host_;
|
| const url::Origin origin_;
|
| scoped_refptr<base::SingleThreadTaskRunner> idb_runner_;
|
|
|
|
|