0

Revert of Enable the bootstrap sandbox by default. (patchset id:40001 of https://codereview.chromium.org/1352623003/ )

Reason for revert:
Caused Mac 10.10 layout failures: http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.10/builds/4593

Original issue's description:
> Enable the bootstrap sandbox by default.
>
> This will place renderer processes under the bootstrap sandbox. This can be
> disabled with --disable-bootstrap-sandbox.
>
> BUG=367863
>
> Committed: https://crrev.com/2dded5291bc5e9427721e1a06c74f2a80a86e8fa
> Cr-Commit-Position: refs/heads/master@{#350006}

TBR=avi@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=367863

Review URL: https://codereview.chromium.org/1355043004

Cr-Commit-Position: refs/heads/master@{#350065}
This commit is contained in:
rsesek
2015-09-21 16:41:41 -07:00
committed by Commit bot
parent 1c4ddaf377
commit f1422520b4
3 changed files with 1 additions and 8 deletions

@ -4,7 +4,6 @@
#include "content/browser/bootstrap_sandbox_manager_mac.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "base/mac/mac_util.h"
#include "content/browser/browser_io_surface_manager_mac.h"
@ -13,15 +12,13 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/child_process_data.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/common/content_switches.h"
#include "sandbox/mac/bootstrap_sandbox.h"
namespace content {
// static
bool BootstrapSandboxManager::ShouldEnable() {
return !base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableBootstrapSandbox);
return false;
}
// static

@ -929,9 +929,6 @@ const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
#endif
#if defined(OS_MACOSX) && !defined(OS_IOS)
// Disables the bootstrap sandbox entirely.
const char kDisableBootstrapSandbox[] = "disable-bootstrap-sandbox";
// Disables support for Core Animation plugins. This is triggered when
// accelerated compositing is disabled. See http://crbug.com/122430.
const char kDisableCoreAnimationPlugins[] =

@ -277,7 +277,6 @@ CONTENT_EXPORT extern const char kEnableSpeechDispatcher[];
#endif
#if defined(OS_MACOSX) && !defined(OS_IOS)
extern const char kDisableBootstrapSandbox[];
extern const char kDisableCoreAnimationPlugins[];
extern const char kDisableThreadedEventHandlingMac[];
#endif