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

Unified Diff: chrome/common/sandbox_policy.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/common/sandbox_policy.cc
diff --git a/chrome/common/sandbox_policy.cc b/chrome/common/sandbox_policy.cc
index aa5249f50ff5c70f771462ab52736a17b95d4a8c..ef76fe65facd0a9a56bb2a4cb215b47b8fb932e4 100644
--- a/chrome/common/sandbox_policy.cc
+++ b/chrome/common/sandbox_policy.cc
@@ -455,7 +455,7 @@ base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line,
// Hack for Google Desktop crash. Trick GD into not injecting its DLL into
// this subprocess. See
// http://code.google.com/p/chromium/issues/detail?id=25580
- cmd_line->AppendSwitchWithValue("ignored", " --type=renderer ");
+ cmd_line->AppendSwitchASCII("ignored", " --type=renderer ");
}
}

Powered by Google App Engine
This is Rietveld 408576698