Index: components/nacl/loader/nacl_main.cc |
diff --git a/components/nacl/loader/nacl_main.cc b/components/nacl/loader/nacl_main.cc |
index 15b6fd2dc8cb16e6497876978addc6cca74812b7..f715c1eb3969598d77f2bb606bd78fa509e2f202 100644 |
--- a/components/nacl/loader/nacl_main.cc |
+++ b/components/nacl/loader/nacl_main.cc |
@@ -24,7 +24,7 @@ int NaClMain(const content::MainFunctionParams& parameters) { |
scoped_ptr<base::PowerMonitorSource> power_monitor_source( |
new base::PowerMonitorDeviceSource()); |
- base::PowerMonitor power_monitor(power_monitor_source.Pass()); |
+ base::PowerMonitor::Initialize(power_monitor_source.Pass()); |
base::HighResolutionTimerManager hi_res_timer_manager; |
#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
@@ -49,5 +49,6 @@ int NaClMain(const content::MainFunctionParams& parameters) { |
#else |
NOTIMPLEMENTED() << " not implemented startup, plugin startup dialog etc."; |
#endif |
+ |
return 0; |
} |