Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Unified Diff: remoting/host/local_input_monitor_linux.cc

Issue 14314026: remoting: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/linux/audio_pipe_reader.cc ('k') | remoting/host/local_input_monitor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « remoting/host/linux/audio_pipe_reader.cc ('k') | remoting/host/local_input_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698