summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sandbox_policy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sandbox_policy.cc')
-rw-r--r--chrome/browser/sandbox_policy.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/sandbox_policy.cc b/chrome/browser/sandbox_policy.cc
index 3c825b0..0acd91d 100644
--- a/chrome/browser/sandbox_policy.cc
+++ b/chrome/browser/sandbox_policy.cc
@@ -364,6 +364,13 @@ base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line,
}
#endif
+ // Propagate the Chrome Frame flag to sandboxed processes if present.
+ if (browser_command_line.HasSwitch(switches::kChromeFrame)) {
+ if (!cmd_line->HasSwitch(switches::kChromeFrame)) {
+ cmd_line->AppendSwitch(switches::kChromeFrame);
+ }
+ }
+
bool child_needs_help =
DebugFlags::ProcessDebugFlags(cmd_line, type, in_sandbox);