| 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 fc0158c84e129b66e1074395f45b899f4cc827d5..19b0fabcb68a72ec61f1d4a07799f9e89efa9b00 100644
|
| --- a/content/browser/indexed_db/indexed_db_unittest.cc
|
| +++ b/content/browser/indexed_db/indexed_db_unittest.cc
|
| @@ -284,7 +284,7 @@ TEST_F(IndexedDBTest, ForceCloseOpenDatabasesOnCommitFailure) {
|
|
|
| // Simulate the write failure.
|
| leveldb::Status status = leveldb::Status::IOError("Simulated failure");
|
| - callbacks->connection()->database()->TransactionCommitFailed(status);
|
| + context->GetIDBFactory()->HandleBackingStoreFailure(kTestOrigin);
|
|
|
| EXPECT_TRUE(db_callbacks->forced_close_called());
|
| EXPECT_FALSE(factory->IsBackingStoreOpen(kTestOrigin));
|
|
|