| Index: content/browser/storage_partition_impl.cc
|
| diff --git a/content/browser/storage_partition_impl.cc b/content/browser/storage_partition_impl.cc
|
| index 52497c902953e3280b480456e82ee548641c3cbf..31f023a7483ed6e985dc66edc69614a26fda0719 100644
|
| --- a/content/browser/storage_partition_impl.cc
|
| +++ b/content/browser/storage_partition_impl.cc
|
| @@ -408,7 +408,8 @@ StoragePartitionImpl::~StoragePartitionImpl() {
|
| StoragePartitionImpl* StoragePartitionImpl::Create(
|
| BrowserContext* context,
|
| bool in_memory,
|
| - const base::FilePath& partition_path) {
|
| + const base::FilePath& partition_path,
|
| + const base::FilePath& local_partition_path) {
|
| // Ensure that these methods are called on the UI thread, except for
|
| // unittests where a UI thread might not have been created.
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI) ||
|
| @@ -442,7 +443,11 @@ StoragePartitionImpl* StoragePartitionImpl::Create(
|
|
|
| base::FilePath path = in_memory ? base::FilePath() : partition_path;
|
| scoped_refptr<DOMStorageContextWrapper> dom_storage_context =
|
| - new DOMStorageContextWrapper(path, context->GetSpecialStoragePolicy());
|
| + new DOMStorageContextWrapper(
|
| + BrowserContext::GetMojoUserIdFor(context),
|
| + path,
|
| + local_partition_path,
|
| + context->GetSpecialStoragePolicy());
|
|
|
| // BrowserMainLoop may not be initialized in unit tests. Tests will
|
| // need to inject their own task runner into the IndexedDBContext.
|
|
|