summaryrefslogtreecommitdiffstats
path: root/chrome/common/time_format.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-08 21:11:12 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-08 21:11:12 +0000
commit9d9a0cc32191290f411bf127700b5e3eb65472a5 (patch)
tree758e6c5eb7be02a0268db578ba414e848e7159c0 /chrome/common/time_format.cc
parent74253badae1577a9c9b0da584db72d277210fc27 (diff)
downloadchromium_src-9d9a0cc32191290f411bf127700b5e3eb65472a5.zip
chromium_src-9d9a0cc32191290f411bf127700b5e3eb65472a5.tar.gz
chromium_src-9d9a0cc32191290f411bf127700b5e3eb65472a5.tar.bz2
Convert occurrences of WideToUTF{8,16}(l10n_util::GetString...() ...
... to l10n::GetString...UTF{8,16}(). BUG=23581 TEST=builds and tests pass Review URL: http://codereview.chromium.org/3054052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/time_format.cc')
-rw-r--r--chrome/common/time_format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/time_format.cc b/chrome/common/time_format.cc
index 2d5b9902..4732cdb 100644
--- a/chrome/common/time_format.cc
+++ b/chrome/common/time_format.cc
@@ -204,7 +204,7 @@ void TimeFormatter::BuildFormats(
icu::UnicodeString pattern;
for (size_t j = 0; j < arraysize(kKeywords); ++j) {
int msg_id = message_ids.ids[i][j];
- std::string sub_pattern = WideToUTF8(l10n_util::GetString(msg_id));
+ std::string sub_pattern = l10n_util::GetStringUTF8(msg_id);
// NA means this keyword is not used in the current locale.
// Even if a translator translated for this keyword, we do not
// use it unless it's 'other' (j=0) or it's defined in the rules