Index: chrome_frame/chrome_frame_automation.cc |
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc |
index bed7be2e90a50478d00a33d3486a26f8989dcebc..bd46123d790cd45ab96b338be9ec74bb973cfa41 100644 |
--- a/chrome_frame/chrome_frame_automation.cc |
+++ b/chrome_frame/chrome_frame_automation.cc |
@@ -279,8 +279,8 @@ void ProxyFactory::CreateProxy(ProxyFactory::ProxyCacheEntry* entry, |
// Launch browser |
scoped_ptr<CommandLine> command_line( |
chrome_launcher::CreateLaunchCommandLine()); |
- command_line->AppendSwitchWithValue(switches::kAutomationClientChannelID, |
- proxy->channel_id()); |
+ command_line->AppendSwitchASCII(switches::kAutomationClientChannelID, |
+ proxy->channel_id()); |
// Run Chrome in Chrome Frame mode. In practice, this modifies the paths |
// and registry keys that Chrome looks in via the BrowserDistribution |