| Index: app/system_monitor.cc
|
| ===================================================================
|
| --- app/system_monitor.cc (revision 67272)
|
| +++ app/system_monitor.cc (working copy)
|
| @@ -29,9 +29,15 @@
|
| base::TimeDelta::FromMilliseconds(kDelayedBatteryCheckMs), this,
|
| &SystemMonitor::BatteryCheck);
|
| #endif // defined(ENABLE_BATTERY_MONITORING)
|
| +#if defined(OS_MACOSX)
|
| + PlatformInit();
|
| +#endif
|
| }
|
|
|
| SystemMonitor::~SystemMonitor() {
|
| +#if defined(OS_MACOSX)
|
| + PlatformDestroy();
|
| +#endif
|
| DCHECK_EQ(this, g_system_monitor);
|
| g_system_monitor = NULL;
|
| }
|
|
|