Index: chrome/installer/util/google_chrome_distribution.cc |
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc |
index bed5b83631550dde01879a9ee924756ffa4055b3..3dd86995152e4223efae9872e71ec539f85f8b22 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); |
} |