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

Unified Diff: net/http/http_auth_handler_basic.cc

Issue 266053002: Implement alternative string conversion functions in net/ on Android, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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_basic.cc
diff --git a/net/http/http_auth_handler_basic.cc b/net/http/http_auth_handler_basic.cc
index eace1dfa4d1e08c02905e2ad771358868255d9e0..48d061304fdaec41b64530c93c814ed9ac2647ff 100644
--- a/net/http/http_auth_handler_basic.cc
+++ b/net/http/http_auth_handler_basic.cc
@@ -43,7 +43,7 @@ bool ParseRealm(const HttpAuthChallengeTokenizer& tokenizer,
if (!LowerCaseEqualsASCII(parameters.name(), "realm"))
continue;
- if (!net::ConvertLatin1ToUtf8AndNormalize(parameters.value(), realm))
+ if (!net::ConvertToUtf8AndNormalize(parameters.value(), kLatin1, realm))
return false;
}
return parameters.valid();

Powered by Google App Engine
This is Rietveld 408576698