Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: components/nacl/loader/nacl_helper_win_64.cc

Issue 1851213002: Remove sandbox on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nacl compile issues Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/nacl/loader/nacl_helper_win_64.cc
diff --git a/components/nacl/loader/nacl_helper_win_64.cc b/components/nacl/loader/nacl_helper_win_64.cc
index 74c1077ee4495c4aa9c0ea6b946574dededd76c0..833247ba74b84159845a7ca1f3d0737527d7bbd7 100644
--- a/components/nacl/loader/nacl_helper_win_64.cc
+++ b/components/nacl/loader/nacl_helper_win_64.cc
@@ -53,7 +53,6 @@ namespace nacl {
int NaClWin64Main() {
sandbox::SandboxInterfaceInfo sandbox_info = {0};
- content::InitializeSandboxInfo(&sandbox_info);
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
@@ -69,11 +68,6 @@ int NaClWin64Main() {
if (command_line.HasSwitch(switches::kEnableLogging))
base::RouteStdioToConsole(true);
- // Initialize the sandbox for this process.
- bool sandbox_initialized_ok = content::InitializeSandbox(&sandbox_info);
- // Die if the sandbox can't be enabled.
- CHECK(sandbox_initialized_ok) << "Error initializing sandbox for "
- << process_type;
content::MainFunctionParams main_params(command_line);
main_params.sandbox_info = &sandbox_info;
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/loader/nacl_main_platform_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698