summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/google_chrome_distribution.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/google_chrome_distribution.cc')
-rw-r--r--chrome/installer/util/google_chrome_distribution.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index bed5b83..3dd8699 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -106,7 +106,8 @@ int GetDirectoryWriteAgeInHours(const wchar_t* path) {
// Does not wait for the process to terminate.
bool RelaunchSetup(const std::wstring& flag, int value) {
CommandLine cmd_line(CommandLine::ForCurrentProcess()->program());
- cmd_line.AppendSwitchWithValue(flag, IntToWString(value));
+ // TODO: make switches into ASCII.
+ cmd_line.AppendSwitchWithValue(WideToASCII(flag), IntToWString(value));
return base::LaunchApp(cmd_line, false, false, NULL);
}