summaryrefslogtreecommitdiffstats
path: root/views/controls
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 17:07:46 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 17:07:46 +0000
commitff622aa41f2eb00c4f0359a1d661f77ea17d29e1 (patch)
tree0eb7fca9bdb735299cdb3224814c8313bb99301e /views/controls
parent568f33de361dbca27e55bd2c1c025663c7a73d3c (diff)
downloadchromium_src-ff622aa41f2eb00c4f0359a1d661f77ea17d29e1.zip
chromium_src-ff622aa41f2eb00c4f0359a1d661f77ea17d29e1.tar.gz
chromium_src-ff622aa41f2eb00c4f0359a1d661f77ea17d29e1.tar.bz2
Remove wstrings from l10n_util/ResourceBundle locale functions.
Review URL: http://codereview.chromium.org/3069026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls')
-rw-r--r--views/controls/label_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/controls/label_unittest.cc b/views/controls/label_unittest.cc
index d238cb3..e072b80 100644
--- a/views/controls/label_unittest.cc
+++ b/views/controls/label_unittest.cc
@@ -550,7 +550,7 @@ TEST(LabelTest, DrawSingleLineStringInRTL) {
Label label;
label.SetFocusable(false);
- std::string locale = l10n_util::GetApplicationLocale(std::wstring());
+ std::string locale = l10n_util::GetApplicationLocale("");
base::i18n::SetICUDefaultLocale("he");
std::wstring test_text(L"Here's a string with no returns.");
@@ -672,7 +672,7 @@ TEST(LabelTest, DrawMultiLineStringInRTL) {
label.SetFocusable(false);
// Test for RTL.
- std::string locale = l10n_util::GetApplicationLocale(std::wstring());
+ std::string locale = l10n_util::GetApplicationLocale("");
base::i18n::SetICUDefaultLocale("he");
std::wstring test_text(L"Another string\nwith returns\n\n!");