Index: net/http/http_auth_handler_ntlm_portable.cc |
diff --git a/net/http/http_auth_handler_ntlm_portable.cc b/net/http/http_auth_handler_ntlm_portable.cc |
index 5e1d5faedc597ef451accefe14502ca49a4aebc1..54d4492a4bfd3d1564e42e046d6e36cb3e8303d4 100644 |
--- a/net/http/http_auth_handler_ntlm_portable.cc |
+++ b/net/http/http_auth_handler_ntlm_portable.cc |
@@ -261,7 +261,7 @@ static void LM_Hash(const base::string16& password, uint8* hash) { |
// Convert password to OEM character set. We'll just use the native |
// filesystem charset. |
std::string passbuf = base::SysWideToNativeMB(base::UTF16ToWide(password)); |
- base::StringToUpperASCII(&passbuf); |
+ passbuf = base::ToUpperASCII(passbuf); |
passbuf.resize(14, '\0'); |
uint8 k1[8], k2[8]; |