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

Unified Diff: chrome/installer/util/l10n_string_util.cc

Issue 2253001: Revert 48186, 48196, 48198 (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 7 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 | « chrome/browser/views/select_profile_dialog.cc ('k') | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/l10n_string_util.cc
diff --git a/chrome/installer/util/l10n_string_util.cc b/chrome/installer/util/l10n_string_util.cc
index 2f571de576d0dbc52a61ef392963fe1371d63efe..6e9b7267374431e16b2494b8c976e767a34c3165 100644
--- a/chrome/installer/util/l10n_string_util.cc
+++ b/chrome/installer/util/l10n_string_util.cc
@@ -42,7 +42,7 @@ std::wstring GetSystemLanguage(const bool use_omaha_language) {
}
length = GetLocaleInfo(id, LOCALE_SISO639LANGNAME,
WriteInto(&language, length), length);
- DCHECK(length == static_cast<int>(language.length() + 1));
+ DCHECK(length == language.length() + 1);
StringToLowerASCII(&language);
// Add the country if we need it.
@@ -51,7 +51,7 @@ std::wstring GetSystemLanguage(const bool use_omaha_language) {
if (0 != length) {
length = GetLocaleInfo(id, LOCALE_SISO3166CTRYNAME,
WriteInto(&country, length), length);
- DCHECK(length == static_cast<int>(country.length() + 1));
+ DCHECK(length == country.length() + 1);
StringToLowerASCII(&country);
if (L"en" == language) {
if (L"gb" == country) {
« no previous file with comments | « chrome/browser/views/select_profile_dialog.cc ('k') | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698