Index: content/utility/utility_main.cc |
diff --git a/content/utility/utility_main.cc b/content/utility/utility_main.cc |
index f74958cf24e54e5aadf4b05f0ba5633f3060df29..6bd656ccc59a1d5e4300b15abbef42f304d84977 100644 |
--- a/content/utility/utility_main.cc |
+++ b/content/utility/utility_main.cc |
@@ -17,7 +17,6 @@ |
#if defined(OS_WIN) |
#include "base/rand_util.h" |
-#include "sandbox/win/src/sandbox.h" |
#endif |
namespace content { |
@@ -41,21 +40,6 @@ int UtilityMain(const MainFunctionParams& parameters) { |
base::HighResolutionTimerManager hi_res_timer_manager; |
-#if defined(OS_WIN) |
- bool no_sandbox = parameters.command_line.HasSwitch(switches::kNoSandbox); |
- if (!no_sandbox) { |
- sandbox::TargetServices* target_services = |
- parameters.sandbox_info->target_services; |
- if (!target_services) |
- return false; |
- char buffer; |
- // Ensure RtlGenRandom is warm before the token is lowered; otherwise, |
- // base::RandBytes() will CHECK fail when v8 is initialized. |
- base::RandBytes(&buffer, sizeof(buffer)); |
- target_services->LowerToken(); |
- } |
-#endif |
- |
base::MessageLoop::current()->Run(); |
#if defined(LEAK_SANITIZER) |