Index: chrome/test/in_process_browser_test.cc |
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc |
index 5b512a2d7252121cc85b26bc9beb8202903644f3..0fe410a2dfe1f209dc95c0bc63107c96c988117f 100644 |
--- a/chrome/test/in_process_browser_test.cc |
+++ b/chrome/test/in_process_browser_test.cc |
@@ -43,6 +43,7 @@ |
#if defined(OS_MACOSX) |
#include "base/mac/mac_util.h" |
+#include "base/system_monitor/system_monitor.h" |
#endif |
#if defined(OS_WIN) |
@@ -82,6 +83,7 @@ InProcessBrowserTest::InProcessBrowserTest() |
tab_closeable_state_watcher_enabled_(false) { |
#if defined(OS_MACOSX) |
base::mac::SetOverrideAmIBundled(true); |
+ base::SystemMonitor::AllocateSystemIOPorts(); |
#endif |
// Before we run the browser, we have to hack the path to the exe to match |