Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: chrome_frame/chrome_tab.cc

Issue 3069014: Convert a bunch of easy AppendSwitchWithValue to *ASCII. (Closed)
Patch Set: fix Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}

Powered by Google App Engine
This is Rietveld 408576698