diff options
Diffstat (limited to 'www/chromium/files/patch-content_browser_browser__main__loop.cc')
-rw-r--r-- | www/chromium/files/patch-content_browser_browser__main__loop.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-content_browser_browser__main__loop.cc b/www/chromium/files/patch-content_browser_browser__main__loop.cc new file mode 100644 index 000000000000..7ba36644a563 --- /dev/null +++ b/www/chromium/files/patch-content_browser_browser__main__loop.cc @@ -0,0 +1,20 @@ +--- content/browser/browser_main_loop.cc.orig 2016-05-11 19:02:20 UTC ++++ content/browser/browser_main_loop.cc +@@ -191,7 +191,7 @@ + namespace content { + namespace { + +-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) ++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD) + void SetupSandbox(const base::CommandLine& parsed_command_line) { + TRACE_EVENT0("startup", "SetupSandbox"); + base::FilePath sandbox_binary; +@@ -444,7 +444,7 @@ void BrowserMainLoop::EarlyInitializatio + TRACE_EVENT0("startup", "BrowserMainLoop::EarlyInitialization"); + TRACK_SCOPED_REGION("Startup", "BrowserMainLoop::EarlyInitialization"); + +-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) ++#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD) + // No thread should be created before this call, as SetupSandbox() + // will end-up using fork(). + SetupSandbox(parsed_command_line_); |