summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 20:00:14 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 20:00:14 +0000
commit53c5804ed27befcf9305e0963bf5318221209ca3 (patch)
tree7c8a558cb152e6d6f821cd927951f13f5451f531 /app
parent6f6f21ab8e11c252affd2dc3d1b4c1975cb18b15 (diff)
downloadchromium_src-53c5804ed27befcf9305e0963bf5318221209ca3.zip
chromium_src-53c5804ed27befcf9305e0963bf5318221209ca3.tar.gz
chromium_src-53c5804ed27befcf9305e0963bf5318221209ca3.tar.bz2
Avoids the use of ToWStringHack in a few places.
BUG=None TEST=run app_unittests.exe, browser_tests.exe and selenium_tests.exe Review URL: http://codereview.chromium.org/173418 Patch from Thiago Farina <thiago.farina@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r--app/l10n_util_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/l10n_util_unittest.cc b/app/l10n_util_unittest.cc
index d763484..db7d342 100644
--- a/app/l10n_util_unittest.cc
+++ b/app/l10n_util_unittest.cc
@@ -106,7 +106,7 @@ TEST_F(L10nUtilTest, GetAppLocale) {
EXPECT_TRUE(file_util::CreateNewTempDirectory(
FILE_PATH_LITERAL("l10n_util_test"),
&new_locale_dir));
- PathService::Override(app::DIR_LOCALES, new_locale_dir.ToWStringHack());
+ PathService::Override(app::DIR_LOCALES, new_locale_dir);
// Make fake locale files.
std::string filenames[] = {
"en-US",
@@ -210,7 +210,7 @@ TEST_F(L10nUtilTest, GetAppLocale) {
#endif // defined(OS_WIN)
// Clean up.
- PathService::Override(app::DIR_LOCALES, orig_locale_dir.ToWStringHack());
+ PathService::Override(app::DIR_LOCALES, orig_locale_dir);
file_util::Delete(new_locale_dir, true);
UErrorCode error_code = U_ZERO_ERROR;
icu::Locale::setDefault(locale, error_code);