| Index: content/browser/storage_partition_impl.cc
|
| diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
|
| index e102445330aa80d3d0e18e50d1cca68e3514e013..fb75813063f73bb60c03c166816e130daee269ca 100644
|
| --- a/content/browser/storage_partition_impl.cc
|
| +++ b/content/browser/storage_partition_impl.cc
|
| @@ -443,11 +443,11 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
|
| BrowserThread::GetMessageLoopProxyForThread(
|
| BrowserThread::FILE).get());
|
|
|
| - base::FilePath path = in_memory ? base::FilePath() : context->GetPath();
|
| scoped_refptr<DOMStorageContextWrapper> dom_storage_context =
|
| - new DOMStorageContextWrapper(BrowserContext::GetMojoUserIdFor(context),
|
| - path, relative_partition_path,
|
| - context->GetSpecialStoragePolicy());
|
| + new DOMStorageContextWrapper(
|
| + BrowserContext::GetMojoUserIdFor(context),
|
| + in_memory ? base::FilePath() : context->GetPath(),
|
| + relative_partition_path, context->GetSpecialStoragePolicy());
|
|
|
| // BrowserMainLoop may not be initialized in unit tests. Tests will
|
| // need to inject their own task runner into the IndexedDBContext.
|
| @@ -459,6 +459,8 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
|
| ->task_runner()
|
| .get()
|
| : NULL;
|
| +
|
| + base::FilePath path = in_memory ? base::FilePath() : partition_path;
|
| scoped_refptr<IndexedDBContextImpl> indexed_db_context =
|
| new IndexedDBContextImpl(path,
|
| context->GetSpecialStoragePolicy(),
|
|
|