Index: base/timer/hi_res_timer_manager_unittest.cc |
diff --git a/base/timer/hi_res_timer_manager_unittest.cc b/base/timer/hi_res_timer_manager_unittest.cc |
index a172046b9f7004e2be35c309a99e26429e1ef612..ce10e3786d70e295710da4cd05aaa4317e103f6a 100644 |
--- a/base/timer/hi_res_timer_manager_unittest.cc |
+++ b/base/timer/hi_res_timer_manager_unittest.cc |
@@ -19,7 +19,8 @@ |
base::MessageLoop loop; |
scoped_ptr<base::PowerMonitorSource> power_monitor_source( |
new base::PowerMonitorDeviceSource()); |
- base::PowerMonitor::Initialize(power_monitor_source.Pass()); |
+ scoped_ptr<base::PowerMonitor> power_monitor( |
+ new base::PowerMonitor(power_monitor_source.Pass())); |
HighResolutionTimerManager manager; |
// At this point, we don't know if the high resolution timers are on or off, |
@@ -54,8 +55,6 @@ |
// De-activate the high resolution timer. |
base::Time::ActivateHighResolutionTimer(false); |
} |
- |
- base::PowerMonitor::ShutdownForTesting(); |
} |
#endif // defined(OS_WIN) |