| Index: base/system_monitor/system_monitor_unittest.cc
|
| diff --git a/base/system_monitor/system_monitor_unittest.cc b/base/system_monitor/system_monitor_unittest.cc
|
| index 8756c58a04370f26b57659d10af3f49f279c0556..f4a4e73fae2113b8e5a131502a1bf9ed54eead46 100644
|
| --- a/base/system_monitor/system_monitor_unittest.cc
|
| +++ b/base/system_monitor/system_monitor_unittest.cc
|
| @@ -48,6 +48,10 @@ TEST(SystemMonitor, PowerNotifications) {
|
| // Initialize a message loop for this to run on.
|
| MessageLoop loop;
|
|
|
| +#if defined(OS_MACOSX)
|
| + SystemMonitor::AllocateSystemIOPorts();
|
| +#endif
|
| +
|
| SystemMonitor system_monitor;
|
| PowerTest test[kObservers];
|
| for (int index = 0; index < kObservers; ++index)
|
|
|