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

Unified Diff: chrome/browser/utility_process_host.cc

Issue 345021: Continue to remove CHROME_FRAME_BUILD define from code that goes into chrome.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/browser/utility_process_host.cc
===================================================================
--- chrome/browser/utility_process_host.cc (revision 30960)
+++ chrome/browser/utility_process_host.cc (working copy)
@@ -97,6 +97,11 @@
SetCrashReporterCommandLine(&cmd_line);
+ const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
+ if (browser_command_line.HasSwitch(switches::kChromeFrame)) {
+ cmd_line.AppendSwitch(switches::kChromeFrame);
+ }
+
base::ProcessHandle process;
#if defined(OS_WIN)
if (!UseSandbox()) {
@@ -110,7 +115,6 @@
#else
// TODO(port): Sandbox this on Linux/Mac. Also, zygote this to work with
// Linux updating.
- const CommandLine& browser_command_line = *CommandLine::ForCurrentProcess();
bool has_cmd_prefix = browser_command_line.HasSwitch(
switches::kUtilityCmdPrefix);
if (has_cmd_prefix) {

Powered by Google App Engine
This is Rietveld 408576698