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

Unified Diff: net/base/net_string_util_icu_alternatives_android.cc

Issue 880003002: Fix Cronet compilation error due to different kCharsetLatin1 definition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_string_util_icu_alternatives_android.cc
diff --git a/net/base/net_string_util_icu_alternatives_android.cc b/net/base/net_string_util_icu_alternatives_android.cc
index f4ef1efc81a12c4f4002bf4f78bea4f2a8bde283..ca0e7f0315db7677a924b825495b0d27fbdb2df3 100644
--- a/net/base/net_string_util_icu_alternatives_android.cc
+++ b/net/base/net_string_util_icu_alternatives_android.cc
@@ -66,7 +66,7 @@ ScopedJavaLocalRef<jstring> ConvertToJstringWithSubstitutions(
} // namespace
-const char kCharsetLatin1[] = "ISO-8859-1";
+const char* const kCharsetLatin1 = "ISO-8859-1";
xunjieli 2015/01/28 15:54:57 I think crrev.com/696033002 was trying to change c
mef 2015/01/28 19:06:59 Unfortunately changing net_string_util_icu to co
xunjieli 2015/01/28 19:15:22 Ahh, i see. Maybe add a comment here so it won't g
mmenke 2015/01/30 15:28:23 SGTM
mef 2015/01/30 15:38:27 Done.
bool ConvertToUtf8(const std::string& text, const char* charset,
std::string* output) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698