| Index: content/browser/indexed_db/indexed_db_dispatcher_host.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.cc b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
|
| index 33d9779ccb785698523ef54dc02d23fedcaa8e6b..fe3bf9fb1472df4411c0d921306800a6af2b659b 100644
|
| --- a/content/browser/indexed_db/indexed_db_dispatcher_host.cc
|
| +++ b/content/browser/indexed_db/indexed_db_dispatcher_host.cc
|
| @@ -293,7 +293,7 @@ void IndexedDBDispatcherHost::GetDatabaseNames(
|
| indexed_db_context_->TaskRunner()->PostTask(
|
| FROM_HERE,
|
| base::Bind(&IndexedDBDispatcherHost::GetDatabaseNamesOnIDBThread, this,
|
| - callbacks, origin));
|
| + base::Passed(&callbacks), origin));
|
| }
|
|
|
| void IndexedDBDispatcherHost::Open(
|
| @@ -319,8 +319,9 @@ void IndexedDBDispatcherHost::Open(
|
| std::move(database_callbacks_info)));
|
| indexed_db_context_->TaskRunner()->PostTask(
|
| FROM_HERE,
|
| - base::Bind(&IndexedDBDispatcherHost::OpenOnIDBThread, this, callbacks,
|
| - database_callbacks, origin, name, version, transaction_id));
|
| + base::Bind(&IndexedDBDispatcherHost::OpenOnIDBThread, this,
|
| + base::Passed(&callbacks), base::Passed(&database_callbacks),
|
| + origin, name, version, transaction_id));
|
| }
|
|
|
| void IndexedDBDispatcherHost::DeleteDatabase(
|
| @@ -338,7 +339,7 @@ void IndexedDBDispatcherHost::DeleteDatabase(
|
| new IndexedDBCallbacks(this, origin, std::move(callbacks_info)));
|
| indexed_db_context_->TaskRunner()->PostTask(
|
| FROM_HERE, base::Bind(&IndexedDBDispatcherHost::DeleteDatabaseOnIDBThread,
|
| - this, callbacks, origin, name));
|
| + this, base::Passed(&callbacks), origin, name));
|
| }
|
|
|
| void IndexedDBDispatcherHost::GetDatabaseNamesOnIDBThread(
|
|
|