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

Unified Diff: ui/base/l10n/l10n_util.cc

Issue 1223983002: Move WriteInto to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « ui/base/ime/win/imm32_manager.cc ('k') | ui/base/l10n/l10n_util_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/l10n/l10n_util.cc
diff --git a/ui/base/l10n/l10n_util.cc b/ui/base/l10n/l10n_util.cc
index a1695e94f92a97658f8549f6cabab0772dd04bfd..4182f42ec6d4657f5fc73c5afb2389c243a70eac 100644
--- a/ui/base/l10n/l10n_util.cc
+++ b/ui/base/l10n/l10n_util.cc
@@ -549,7 +549,7 @@ base::string16 GetDisplayNameForLocale(const std::string& locale,
int actual_size = uloc_getDisplayName(
locale_code.c_str(), display_locale.c_str(),
- WriteInto(&display_name, kBufferSize), kBufferSize - 1, &error);
+ base::WriteInto(&display_name, kBufferSize), kBufferSize - 1, &error);
DCHECK(U_SUCCESS(error));
display_name.resize(actual_size);
}
@@ -834,7 +834,7 @@ base::string16 GetPluralStringFUTF16(int message_id, int number) {
DCHECK_GT(capacity, 1);
base::string16 result;
result_unistring.extract(
- static_cast<UChar*>(WriteInto(&result, capacity)), capacity, err);
+ static_cast<UChar*>(base::WriteInto(&result, capacity)), capacity, err);
DCHECK(U_SUCCESS(err));
return result;
}
« no previous file with comments | « ui/base/ime/win/imm32_manager.cc ('k') | ui/base/l10n/l10n_util_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698