summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/google_chrome_distribution.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 06:00:38 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 06:00:38 +0000
commit0c605fe33535d66b6a0d45f9e32b9ca9ae1e1a5c (patch)
tree99af58c3979d534bae713ec0954353207a11838b /chrome/installer/util/google_chrome_distribution.cc
parent05076ba206e040b31fdb41a39cc10a2ecc4adf9d (diff)
downloadchromium_src-0c605fe33535d66b6a0d45f9e32b9ca9ae1e1a5c.zip
chromium_src-0c605fe33535d66b6a0d45f9e32b9ca9ae1e1a5c.tar.gz
chromium_src-0c605fe33535d66b6a0d45f9e32b9ca9ae1e1a5c.tar.bz2
Drop usage of IntToWString in switch values; we can use ASCII now.
Review URL: http://codereview.chromium.org/3037034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54286 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/google_chrome_distribution.cc')
-rw-r--r--chrome/installer/util/google_chrome_distribution.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index f1bad6f..e9dff40 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -130,7 +130,7 @@ int GetDirectoryWriteAgeInHours(const wchar_t* path) {
bool RelaunchSetup(const std::wstring& flag, int value,
bool system_level_toast) {
CommandLine cmd_line(CommandLine::ForCurrentProcess()->GetProgram());
- cmd_line.AppendSwitchWithValue(WideToASCII(flag), IntToWString(value));
+ cmd_line.AppendSwitchASCII(WideToASCII(flag), IntToString(value));
if (system_level_toast)
cmd_line.AppendSwitch(
WideToASCII(installer_util::switches::kSystemLevelToast));