| Index: content/browser/indexed_db/indexed_db_context_impl.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_context_impl.cc b/content/browser/indexed_db/indexed_db_context_impl.cc
|
| index 5357e60c6842a6815987eb9e0dcb30dff1aca9b0..c64f52eb195e02490dfc0ef400c7f2d057822ba7 100644
|
| --- a/content/browser/indexed_db/indexed_db_context_impl.cc
|
| +++ b/content/browser/indexed_db/indexed_db_context_impl.cc
|
| @@ -468,8 +468,8 @@ void IndexedDBContextImpl::DatabaseDeleted(const Origin& origin) {
|
| IndexedDBContextImpl::~IndexedDBContextImpl() {
|
| if (factory_.get()) {
|
| TaskRunner()->PostTask(FROM_HERE,
|
| - base::Bind(&IndexedDBFactory::ContextDestroyed,
|
| - base::Passed(&factory_)));
|
| + base::BindOnce(&IndexedDBFactory::ContextDestroyed,
|
| + base::Passed(&factory_)));
|
| }
|
|
|
| if (data_path_.empty())
|
| @@ -486,10 +486,9 @@ IndexedDBContextImpl::~IndexedDBContextImpl() {
|
| if (!has_session_only_databases)
|
| return;
|
|
|
| - TaskRunner()->PostTask(
|
| - FROM_HERE,
|
| - base::Bind(
|
| - &ClearSessionOnlyOrigins, data_path_, special_storage_policy_));
|
| + TaskRunner()->PostTask(FROM_HERE,
|
| + base::BindOnce(&ClearSessionOnlyOrigins, data_path_,
|
| + special_storage_policy_));
|
| }
|
|
|
| // static
|
|
|