| Index: media/base/user_input_monitor_unittest.cc
|
| diff --git a/media/base/user_input_monitor_unittest.cc b/media/base/user_input_monitor_unittest.cc
|
| index 75fc2f63c2dbc87b9954efa4217e0022c4b2ceca..401d96739079b0e62489092f0e55c43802224e2b 100644
|
| --- a/media/base/user_input_monitor_unittest.cc
|
| +++ b/media/base/user_input_monitor_unittest.cc
|
| @@ -15,6 +15,10 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "third_party/skia/include/core/SkPoint.h"
|
|
|
| +#if defined(OS_LINUX)
|
| +#include "base/files/file_descriptor_watcher_posix.h"
|
| +#endif
|
| +
|
| namespace media {
|
|
|
| class MockMouseListener : public UserInputMonitor::MouseEventListener {
|
| @@ -50,6 +54,7 @@ TEST(UserInputMonitorTest, KeyPressCounter) {
|
| TEST(UserInputMonitorTest, CreatePlatformSpecific) {
|
| #if defined(OS_LINUX)
|
| base::MessageLoopForIO message_loop;
|
| + base::FileDescriptorWatcher file_descriptor_watcher(&message_loop);
|
| #else
|
| base::MessageLoopForUI message_loop;
|
| #endif // defined(OS_LINUX)
|
|
|