Index: remoting/host/local_input_monitor_linux.cc |
diff --git a/remoting/host/local_input_monitor_linux.cc b/remoting/host/local_input_monitor_linux.cc |
index 31238321bfcaab5a3bed676544e3e5a37340f492..6955c55ae401d6cb5269cecc433660f7bf3655d8 100644 |
--- a/remoting/host/local_input_monitor_linux.cc |
+++ b/remoting/host/local_input_monitor_linux.cc |
@@ -213,10 +213,13 @@ void LocalInputMonitorLinux::Core::StartOnInputThread() { |
// Register OnFileCanReadWithoutBlocking() to be called every time there is |
// something to read from |x_record_display_|. |
- MessageLoopForIO* message_loop = MessageLoopForIO::current(); |
- int result = message_loop->WatchFileDescriptor( |
- ConnectionNumber(x_record_display_), true, MessageLoopForIO::WATCH_READ, |
- &controller_, this); |
+ base::MessageLoopForIO* message_loop = base::MessageLoopForIO::current(); |
+ int result = |
+ message_loop->WatchFileDescriptor(ConnectionNumber(x_record_display_), |
+ true, |
+ base::MessageLoopForIO::WATCH_READ, |
+ &controller_, |
+ this); |
if (!result) { |
LOG(ERROR) << "Failed to create X record task."; |
return; |