Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1789)

Unified Diff: net/http/http_auth_handler_ntlm_portable.cc

Issue 1280473002: Update ToLower/UpperASCII API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: char16 Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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];

Powered by Google App Engine
This is Rietveld 408576698