| Index: remoting/host/clipboard_x11.cc
|
| diff --git a/remoting/host/clipboard_x11.cc b/remoting/host/clipboard_x11.cc
|
| index eb952c180ba9d4fd9a0093a027c62efcb908c244..234dacf0f4b52e19419aaf90964cac1297664c11 100644
|
| --- a/remoting/host/clipboard_x11.cc
|
| +++ b/remoting/host/clipboard_x11.cc
|
| @@ -17,7 +17,7 @@ namespace remoting {
|
|
|
| // This code is expected to be called on the desktop thread only.
|
| class ClipboardX11 : public Clipboard,
|
| - public MessageLoopForIO::Watcher {
|
| + public base::MessageLoopForIO::Watcher {
|
| public:
|
| ClipboardX11();
|
| virtual ~ClipboardX11();
|
| @@ -48,7 +48,7 @@ class ClipboardX11 : public Clipboard,
|
| Display* display_;
|
|
|
| // Watcher used to handle X11 events from |display_|.
|
| - MessageLoopForIO::FileDescriptorWatcher x_connection_watcher_;
|
| + base::MessageLoopForIO::FileDescriptorWatcher x_connection_watcher_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ClipboardX11);
|
| };
|
| @@ -75,9 +75,12 @@ void ClipboardX11::Start(
|
| base::Bind(&ClipboardX11::OnClipboardChanged,
|
| base::Unretained(this)));
|
|
|
| - MessageLoopForIO::current()->WatchFileDescriptor(
|
| - ConnectionNumber(display_), true, MessageLoopForIO::WATCH_READ,
|
| - &x_connection_watcher_, this);
|
| + base::MessageLoopForIO::current()->WatchFileDescriptor(
|
| + ConnectionNumber(display_),
|
| + true,
|
| + base::MessageLoopForIO::WATCH_READ,
|
| + &x_connection_watcher_,
|
| + this);
|
| PumpXEvents();
|
| }
|
|
|
|
|