| Index: chrome/browser/extensions/extension_service_unittest.cc
|
| diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc
|
| index 32adcc95dbd9eccc8e7df3b1b571629b3c915b60..9e650c147c2cc6ee96cc812bb588597976696ae4 100644
|
| --- a/chrome/browser/extensions/extension_service_unittest.cc
|
| +++ b/chrome/browser/extensions/extension_service_unittest.cc
|
| @@ -3626,8 +3626,9 @@ TEST_F(ExtensionServiceTest, ClearExtensionData) {
|
|
|
| // Create indexed db. Similarly, it is enough to only simulate this by
|
| // creating the directory on the disk.
|
| - IndexedDBContext* idb_context = BrowserContext::GetIndexedDBContext(
|
| - profile_.get());
|
| + IndexedDBContext* idb_context =
|
| + BrowserContext::GetDefaultStoragePartition(profile_.get())->
|
| + GetIndexedDBContext();
|
| FilePath idb_path = idb_context->GetFilePathForTesting(origin_id);
|
| EXPECT_TRUE(file_util::CreateDirectory(idb_path));
|
| EXPECT_TRUE(file_util::DirectoryExists(idb_path));
|
| @@ -3738,8 +3739,9 @@ TEST_F(ExtensionServiceTest, ClearAppData) {
|
|
|
| // Create indexed db. Similarly, it is enough to only simulate this by
|
| // creating the directory on the disk.
|
| - IndexedDBContext* idb_context = BrowserContext::GetIndexedDBContext(
|
| - profile_.get());
|
| + IndexedDBContext* idb_context =
|
| + BrowserContext::GetDefaultStoragePartition(profile_.get())->
|
| + GetIndexedDBContext();
|
| FilePath idb_path = idb_context->GetFilePathForTesting(origin_id);
|
| EXPECT_TRUE(file_util::CreateDirectory(idb_path));
|
| EXPECT_TRUE(file_util::DirectoryExists(idb_path));
|
|
|