Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 7b3d4f141cd9f70030854b6657cf442a655e826e..cb250c1b98c74df96acd4a1b8412da692ec31985 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -448,8 +448,8 @@ |
{ |
TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:PowerMonitor") |
scoped_ptr<base::PowerMonitorSource> power_monitor_source( |
- new base::PowerMonitorDeviceSource()); |
- base::PowerMonitor::Initialize(power_monitor_source.Pass()); |
+ new base::PowerMonitorDeviceSource()); |
+ power_monitor_.reset(new base::PowerMonitor(power_monitor_source.Pass())); |
} |
{ |
TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:HighResTimerManager") |