summaryrefslogtreecommitdiffstats
path: root/components/crx_file/crx_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/crx_file/crx_file.cc')
-rw-r--r--components/crx_file/crx_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/crx_file/crx_file.cc b/components/crx_file/crx_file.cc
index b081fec..ace6ee1 100644
--- a/components/crx_file/crx_file.cc
+++ b/components/crx_file/crx_file.cc
@@ -61,7 +61,7 @@ CrxFile::ValidateError FinalizeHash(const std::string& extension_id,
uint8 output[crypto::kSHA256Length] = {};
hash->Finish(output, sizeof(output));
std::string hash_base64 =
- base::StringToLowerASCII(base::HexEncode(output, sizeof(output)));
+ base::ToLowerASCII(base::HexEncode(output, sizeof(output)));
if (hash_base64 != expected_hash) {
LOG(ERROR) << "Hash check failed for extension: " << extension_id
<< ", expected " << expected_hash << ", got " << hash_base64;