| Index: content/utility/utility_main.cc
|
| diff --git a/content/utility/utility_main.cc b/content/utility/utility_main.cc
|
| index 3d130f93e05b20a33f612b46b5023847bfa86944..c93c1eca5366ae0c3c53f75af3de4a88593262fc 100644
|
| --- a/content/utility/utility_main.cc
|
| +++ b/content/utility/utility_main.cc
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "base/command_line.h"
|
| #include "base/message_loop/message_loop.h"
|
| -#include "base/power_monitor/power_monitor.h"
|
| #include "base/threading/platform_thread.h"
|
| #include "base/timer/hi_res_timer_manager.h"
|
| #include "content/child/child_process.h"
|
| @@ -26,9 +25,6 @@ int UtilityMain(const MainFunctionParams& parameters) {
|
| base::MessageLoop main_message_loop;
|
| base::PlatformThread::SetName("CrUtilityMain");
|
|
|
| - base::PowerMonitor power_monitor;
|
| - base::HighResolutionTimerManager hi_res_timer_manager;
|
| -
|
| #if defined(OS_LINUX)
|
| // Initialize the sandbox before any thread is created.
|
| LinuxSandbox::InitializeSandbox();
|
| @@ -37,6 +33,8 @@ int UtilityMain(const MainFunctionParams& parameters) {
|
| ChildProcess utility_process;
|
| utility_process.set_main_thread(new UtilityThreadImpl());
|
|
|
| + base::HighResolutionTimerManager hi_res_timer_manager;
|
| +
|
| #if defined(OS_WIN)
|
| bool no_sandbox = parameters.command_line.HasSwitch(switches::kNoSandbox);
|
| if (!no_sandbox) {
|
|
|