| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 3addee33ee6aec88ac6cc611dc0e7d5bd86b05d1..3b6f2596bf3129be1590a497d3b7da434910fa31 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -90,7 +90,7 @@
|
| #include <glib-object.h>
|
| #endif
|
|
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_LINUX) && defined(USE_UDEV)
|
| #include "content/browser/device_monitor_linux.h"
|
| #elif defined(OS_MACOSX) && !defined(OS_IOS)
|
| #include "content/browser/device_monitor_mac.h"
|
| @@ -960,7 +960,7 @@ int BrowserMainLoop::BrowserThreadsStarted() {
|
| #endif
|
| #endif
|
|
|
| -#if defined(OS_LINUX)
|
| +#if defined(OS_LINUX) && defined(USE_UDEV)
|
| device_monitor_linux_.reset(new DeviceMonitorLinux());
|
| #elif defined(OS_MACOSX)
|
| device_monitor_mac_.reset(new DeviceMonitorMac());
|
|
|