diff --git a/atom/browser/api/atom_api_power_monitor.cc b/atom/browser/api/atom_api_power_monitor.cc index 48194d0e3a9..88fbb4c97be 100644 --- a/atom/browser/api/atom_api_power_monitor.cc +++ b/atom/browser/api/atom_api_power_monitor.cc @@ -92,10 +92,6 @@ using atom::api::PowerMonitor; void Initialize(v8::Local exports, v8::Local unused, v8::Local context, void* priv) { -#if defined(OS_MACOSX) - base::PowerMonitorDeviceSource::AllocateSystemIOPorts(); -#endif - v8::Isolate* isolate = context->GetIsolate(); mate::Dictionary dict(isolate, exports); dict.Set("powerMonitor", PowerMonitor::Create(isolate));