Index: content/browser/storage_partition_impl_map.cc |
diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc |
index 393176a35780b33cb9c489d718a0bd915f255e22..157e2ab0d21a2f60e71de2068ad1312fef27064b 100644 |
--- a/content/browser/storage_partition_impl_map.cc |
+++ b/content/browser/storage_partition_impl_map.cc |
@@ -37,6 +37,10 @@ StoragePartitionImpl* StoragePartitionImplMap::Get( |
return it->second; |
// There was no previous partition, so let's make a new one. |
+ // |
+ // TODO(ajwong): Move the the path construciton logic into |
+ // StoragePartitionImpl::Create() once we get the |
+ // PostCreateInitialization() ordering sorted out. |
FilePath partition_path = browser_context_->GetPath(); |
if (!partition_id.empty()) { |
// TODO(ajwong): This should check the path is valid? |
@@ -46,7 +50,8 @@ StoragePartitionImpl* StoragePartitionImplMap::Get( |
} |
StoragePartitionImpl* storage_partition = |
- StoragePartitionImpl::Create(browser_context_, partition_path); |
+ StoragePartitionImpl::Create(browser_context_, partition_id, |
+ partition_path); |
partitions_[partition_id] = storage_partition; |
PostCreateInitialization(storage_partition, partition_path); |