Index: chrome/browser/extensions/external_registry_loader_win.cc |
diff --git a/chrome/browser/extensions/external_registry_loader_win.cc b/chrome/browser/extensions/external_registry_loader_win.cc |
index a1c289315575b57ee67974c2152b2adfd11a9e1c..0b5a67f83687c838b7723790af6f0953dc435e9f 100644 |
--- a/chrome/browser/extensions/external_registry_loader_win.cc |
+++ b/chrome/browser/extensions/external_registry_loader_win.cc |
@@ -98,8 +98,7 @@ void ExternalRegistryLoader::LoadOnFileThread() { |
continue; |
} |
- std::string id = base::UTF16ToASCII(*it); |
- base::StringToLowerASCII(&id); |
+ std::string id = base::ToLowerASCII(base::UTF16ToASCII(*it)); |
if (!crx_file::id_util::IdIsValid(id)) { |
LOG(ERROR) << "Invalid id value " << id |
<< " for key " << key_path << "."; |