Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 50ce699b4071e4071084393e21afc5b6564bac48..15166163a33ea4962e7c593305734f2c6ca98890 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -68,6 +68,8 @@ |
#if defined(OS_LINUX) |
#include "content/browser/device_monitor_linux.h" |
+#elif defined(OS_MACOSX) |
+#include "content/browser/device_monitor_mac.h" |
#endif |
#if defined(OS_CHROMEOS) |
@@ -619,6 +621,8 @@ void BrowserMainLoop::BrowserThreadsStarted() { |
#if defined(OS_LINUX) |
device_monitor_linux_.reset(new DeviceMonitorLinux()); |
+#elif defined(OS_MACOSX) |
+ device_monitor_mac_.reset(new DeviceMonitorMac()); |
#endif |
// RDH needs the IO thread to be created. |