Index: ui/chromeos/network/network_connect.cc |
diff --git a/ui/chromeos/network/network_connect.cc b/ui/chromeos/network/network_connect.cc |
index 508ead12697e24938fa7fc0dbe2ecd60557d807d..23e1109b392f6dd688dd1bcc9d36680cef79870f 100644 |
--- a/ui/chromeos/network/network_connect.cc |
+++ b/ui/chromeos/network/network_connect.cc |
@@ -609,8 +609,7 @@ base::string16 NetworkConnectImpl::GetShillErrorString( |
IDS_CHROMEOS_NETWORK_ERROR_PPP_AUTH_FAILED); |
} |
- if (base::StringToLowerASCII(error) == |
- base::StringToLowerASCII(std::string(shill::kUnknownString))) { |
+ if (base::ToLowerASCII(error) == base::ToLowerASCII(shill::kUnknownString)) { |
return l10n_util::GetStringUTF16(IDS_CHROMEOS_NETWORK_ERROR_UNKNOWN); |
} |
return l10n_util::GetStringFUTF16(IDS_NETWORK_UNRECOGNIZED_ERROR, |