Index: content/browser/cache_storage/cache_storage_manager.cc |
diff --git a/content/browser/cache_storage/cache_storage_manager.cc b/content/browser/cache_storage/cache_storage_manager.cc |
index cc13c443a3c41d4c9fbf143a13e6e68e1b676979..6c0a1a74b9c9fca65d06c6fa5938af0f419fa214 100644 |
--- a/content/browser/cache_storage/cache_storage_manager.cc |
+++ b/content/browser/cache_storage/cache_storage_manager.cc |
@@ -323,7 +323,7 @@ base::FilePath CacheStorageManager::ConstructLegacyOriginPath( |
const base::FilePath& root_path, |
const GURL& origin) { |
const std::string origin_hash = base::SHA1HashString(origin.spec()); |
- const std::string origin_hash_hex = base::StringToLowerASCII( |
+ const std::string origin_hash_hex = base::ToLowerASCII( |
base::HexEncode(origin_hash.c_str(), origin_hash.length())); |
return root_path.AppendASCII(origin_hash_hex); |
} |
@@ -334,7 +334,7 @@ base::FilePath CacheStorageManager::ConstructOriginPath( |
const GURL& origin) { |
const std::string identifier = storage::GetIdentifierFromOrigin(origin); |
const std::string origin_hash = base::SHA1HashString(identifier); |
- const std::string origin_hash_hex = base::StringToLowerASCII( |
+ const std::string origin_hash_hex = base::ToLowerASCII( |
base::HexEncode(origin_hash.c_str(), origin_hash.length())); |
return root_path.AppendASCII(origin_hash_hex); |
} |