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 15e1d2a055c58bf7d252fc583d95c01bd6cf0c8f..8a2069dfed8176b2225b419aea392a660a9aec76 100644 |
--- a/chrome/installer/util/google_chrome_distribution.cc |
+++ b/chrome/installer/util/google_chrome_distribution.cc |
@@ -129,10 +129,10 @@ int GetDirectoryWriteAgeInHours(const wchar_t* path) { |
// Launches again this same process with switch --|flag|=|value|. |
// If system_level_toast is true, appends --system-level-toast. |
// Does not wait for the process to terminate. |
-bool RelaunchSetup(const std::wstring& flag, int value, |
+bool RelaunchSetup(const std::string& flag, int value, |
bool system_level_toast) { |
CommandLine cmd_line(CommandLine::ForCurrentProcess()->GetProgram()); |
- cmd_line.AppendSwitchASCII(WideToASCII(flag), base::IntToString(value)); |
+ cmd_line.AppendSwitchASCII(flag, base::IntToString(value)); |
if (system_level_toast) |
cmd_line.AppendSwitch( |
WideToASCII(installer_util::switches::kSystemLevelToast)); |