Index: components/nacl/loader/nacl_main_platform_delegate_win.cc |
diff --git a/components/nacl/loader/nacl_main_platform_delegate_win.cc b/components/nacl/loader/nacl_main_platform_delegate_win.cc |
index c0caa5e2c2d2c5295572de8d7306dd063280b4c9..45219fe140d53267c9345dc05df7c37909fde11c 100644 |
--- a/components/nacl/loader/nacl_main_platform_delegate_win.cc |
+++ b/components/nacl/loader/nacl_main_platform_delegate_win.cc |
@@ -6,18 +6,7 @@ |
#include "base/logging.h" |
#include "content/public/common/main_function_params.h" |
-#include "sandbox/win/src/sandbox.h" |
void NaClMainPlatformDelegate::EnableSandbox( |
const content::MainFunctionParams& parameters) { |
- sandbox::TargetServices* target_services = |
- parameters.sandbox_info->target_services; |
- |
- CHECK(target_services) << "NaCl-Win EnableSandbox: No Target Services!"; |
- // Cause advapi32 to load before the sandbox is turned on. |
- unsigned int dummy_rand; |
- rand_s(&dummy_rand); |
- |
- // Turn the sandbox on. |
- target_services->LowerToken(); |
} |