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

Unified Diff: chrome/nacl/broker_thread.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/nacl/broker_thread.cc
diff --git a/chrome/nacl/broker_thread.cc b/chrome/nacl/broker_thread.cc
index a199c081b1223321e8cc819484434be0b079b03f..e3e6b037827324f9303c1c672671d70e0037440f 100644
--- a/chrome/nacl/broker_thread.cc
+++ b/chrome/nacl/broker_thread.cc
@@ -49,11 +49,11 @@ void NaClBrokerThread::OnLaunchLoaderThroughBroker(
CommandLine* cmd_line = new CommandLine(exe_path);
nacl::CopyNaClCommandLineArguments(cmd_line);
- cmd_line->AppendSwitchWithValue(switches::kProcessType,
- switches::kNaClLoaderProcess);
+ cmd_line->AppendSwitchASCII(switches::kProcessType,
+ switches::kNaClLoaderProcess);
- cmd_line->AppendSwitchWithValue(switches::kProcessChannelID,
- loader_channel_id);
+ cmd_line->AppendSwitchASCII(switches::kProcessChannelID,
+ loader_channel_id);
loader_process = sandbox::StartProcessWithAccess(cmd_line, FilePath());
if (loader_process) {

Powered by Google App Engine
This is Rietveld 408576698