diff options
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r-- | chrome/app/chrome_dll_main.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc index bc9f4a3..26b493a 100644 --- a/chrome/app/chrome_dll_main.cc +++ b/chrome/app/chrome_dll_main.cc @@ -482,11 +482,7 @@ int ChromeMain(int argc, char** argv) { #if defined(OS_WIN) sandbox_wrapper.SetServices(sandbox_info); #endif - - // OS X enables sandboxing later in the startup process. -#if !defined (OS_MACOSX) sandbox_wrapper.InitializeSandbox(parsed_command_line, process_type); -#endif // !OS_MACOSX #if defined(OS_WIN) _Module.Init(NULL, instance); @@ -540,13 +536,6 @@ int ChromeMain(int argc, char** argv) { if (!process_type.empty()) CommonSubprocessInit(); -#if defined (OS_MACOSX) - // On OS X the renderer sandbox needs to be initialized later in the startup - // sequence in RendererMainPlatformDelegate::PlatformInitialize(). - if (process_type != switches::kRendererProcess) - sandbox_wrapper.InitializeSandbox(parsed_command_line, process_type); -#endif // OS_MACOSX - startup_timer.Stop(); // End of Startup Time Measurement. MainFunctionParams main_params(parsed_command_line, sandbox_wrapper, |