Index: remoting/base/auto_thread.cc |
diff --git a/remoting/base/auto_thread.cc b/remoting/base/auto_thread.cc |
index 0e56ab5437006edf8b1d85df378e034380515ffc..be4235dde0b218883dca607fca680b50d747a58b 100644 |
--- a/remoting/base/auto_thread.cc |
+++ b/remoting/base/auto_thread.cc |
@@ -211,7 +211,7 @@ void AutoThread::ThreadMain() { |
#if defined(OS_POSIX) && !defined(OS_NACL) |
// Allow threads running a MessageLoopForIO to use FileDescriptorWatcher. |
std::unique_ptr<base::FileDescriptorWatcher> file_descriptor_watcher; |
- if (startup_data_->loop_type == base::MessageLoop::TYPE_IO) { |
+ if (message_loop.type() == base::MessageLoop::TYPE_IO) { |
DCHECK_EQ(&message_loop, base::MessageLoopForIO::current()); |
file_descriptor_watcher.reset( |
new base::FileDescriptorWatcher(base::MessageLoopForIO::current())); |