summaryrefslogtreecommitdiffstats
path: root/content/common/sandbox_win.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-20 01:10:32 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-20 01:10:32 +0000
commit9206f2a057c2a5746c7d5709909f84dfeb7dd855 (patch)
tree38463209817e6a378d1ef9fc1ea6ff0251e46e49 /content/common/sandbox_win.cc
parent88519f51a5033f0d1118e451a6d21b70ba47a432 (diff)
downloadchromium_src-9206f2a057c2a5746c7d5709909f84dfeb7dd855.zip
chromium_src-9206f2a057c2a5746c7d5709909f84dfeb7dd855.tar.gz
chromium_src-9206f2a057c2a5746c7d5709909f84dfeb7dd855.tar.bz2
Get rid of chrome frame flag in sandbox_policy.cc which is a layering violation (content shouldn't know about chrome frame)..
BUG=191682 Review URL: https://codereview.chromium.org/12937003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189185 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/sandbox_win.cc')
-rw-r--r--content/common/sandbox_win.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/content/common/sandbox_win.cc b/content/common/sandbox_win.cc
index f7a68af..24e110e 100644
--- a/content/common/sandbox_win.cc
+++ b/content/common/sandbox_win.cc
@@ -590,13 +590,6 @@ base::ProcessHandle StartSandboxedProcess(
in_sandbox = false;
}
- // 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);
- }
- }
-
// Propagate the --allow-no-job flag if present.
if (browser_command_line.HasSwitch(switches::kAllowNoSandboxJob) &&
!cmd_line->HasSwitch(switches::kAllowNoSandboxJob)) {