Index: content/browser/indexed_db/indexed_db_unittest.cc |
diff --git a/content/browser/indexed_db/indexed_db_unittest.cc b/content/browser/indexed_db/indexed_db_unittest.cc |
index 25258618a33c3c0c54486d8713f6f703d003d713..21a1aa5b7488f77732edd2931b3dda5f11ca981f 100644 |
--- a/content/browser/indexed_db/indexed_db_unittest.cc |
+++ b/content/browser/indexed_db/indexed_db_unittest.cc |
@@ -208,9 +208,10 @@ TEST_F(IndexedDBTest, ForceCloseOpenDatabasesOnDelete) { |
// TODO(jsbell): Remove static_cast<> when overloads are eliminated. |
idb_context->TaskRunner()->PostTask( |
FROM_HERE, |
- base::Bind(static_cast<void (IndexedDBContextImpl::*)(const Origin&)>( |
- &IndexedDBContextImpl::DeleteForOrigin), |
- idb_context, kTestOrigin)); |
+ base::BindOnce( |
+ static_cast<void (IndexedDBContextImpl::*)(const Origin&)>( |
+ &IndexedDBContextImpl::DeleteForOrigin), |
+ idb_context, kTestOrigin)); |
FlushIndexedDBTaskRunner(); |
base::RunLoop().RunUntilIdle(); |
} |
@@ -243,8 +244,7 @@ TEST_F(IndexedDBTest, DeleteFailsIfDirectoryLocked) { |
void (IndexedDBContextImpl::* delete_for_origin)(const Origin&) = |
&IndexedDBContextImpl::DeleteForOrigin; |
idb_context->TaskRunner()->PostTask( |
- FROM_HERE, |
- base::Bind(delete_for_origin, idb_context, kTestOrigin)); |
+ FROM_HERE, base::BindOnce(delete_for_origin, idb_context, kTestOrigin)); |
FlushIndexedDBTaskRunner(); |
EXPECT_TRUE(base::DirectoryExists(test_path)); |