From ffab7376b57e032cd311b4893b9c764b2c0e441c Mon Sep 17 00:00:00 2001 From: "a.cavalcanti" Date: Fri, 14 Aug 2015 19:55:48 -0700 Subject: [PATCH] Fixing variable name typo ('Parition' -> Partition). BUG= Review URL: https://codereview.chromium.org/1284403002 Cr-Commit-Position: refs/heads/master@{#343550} --- content/browser/browser_context.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc index 25ffaf2d835c..be99f67344e5 100644 --- a/content/browser/browser_context.cc +++ b/content/browser/browser_context.cc @@ -36,7 +36,7 @@ namespace { // Key names on BrowserContext. const char kDownloadManagerKeyName[] = "download_manager"; -const char kStorageParitionMapKeyName[] = "content_storage_partition_map"; +const char kStoragePartitionMapKeyName[] = "content_storage_partition_map"; #if defined(OS_CHROMEOS) const char kMountPointsKey[] = "mount_points"; @@ -46,10 +46,10 @@ StoragePartitionImplMap* GetStoragePartitionMap( BrowserContext* browser_context) { StoragePartitionImplMap* partition_map = static_cast( - browser_context->GetUserData(kStorageParitionMapKeyName)); + browser_context->GetUserData(kStoragePartitionMapKeyName)); if (!partition_map) { partition_map = new StoragePartitionImplMap(browser_context); - browser_context->SetUserData(kStorageParitionMapKeyName, partition_map); + browser_context->SetUserData(kStoragePartitionMapKeyName, partition_map); } return partition_map; } @@ -199,7 +199,7 @@ void BrowserContext::ForEachStoragePartition( const StoragePartitionCallback& callback) { StoragePartitionImplMap* partition_map = static_cast( - browser_context->GetUserData(kStorageParitionMapKeyName)); + browser_context->GetUserData(kStoragePartitionMapKeyName)); if (!partition_map) return; -- 2.11.4.GIT