Index: chrome_frame/chrome_tab.cc |
diff --git a/chrome_frame/chrome_tab.cc b/chrome_frame/chrome_tab.cc |
index f7ff496a84a05d35108abe7d9f55c4ec71f23117..002d700b92cb968a9da245aec55dd30ee10f777d 100644 |
--- a/chrome_frame/chrome_tab.cc |
+++ b/chrome_frame/chrome_tab.cc |
@@ -280,8 +280,8 @@ HRESULT SetupRunOnce() { |
RegKey run_once; |
if (run_once.Create(HKEY_CURRENT_USER, kRunOnce, KEY_READ | KEY_WRITE)) { |
CommandLine run_once_command(chrome_launcher::GetChromeExecutablePath()); |
- run_once_command.AppendSwitchWithValue( |
- switches::kAutomationClientChannelID, "0"); |
+ run_once_command.AppendSwitchASCII(switches::kAutomationClientChannelID, |
+ "0"); |
run_once_command.AppendSwitch(switches::kChromeFrame); |
run_once.WriteValue(L"A", run_once_command.command_line_string().c_str()); |
} |