diff options
Diffstat (limited to 'remoting/host/desktop_process.cc')
-rw-r--r-- | remoting/host/desktop_process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/desktop_process.cc b/remoting/host/desktop_process.cc index d2cef83..4592bfd 100644 --- a/remoting/host/desktop_process.cc +++ b/remoting/host/desktop_process.cc @@ -31,7 +31,7 @@ DesktopProcess::DesktopProcess( input_task_runner_(input_task_runner), daemon_channel_name_(daemon_channel_name) { DCHECK(caller_task_runner_->BelongsToCurrentThread()); - DCHECK_EQ(base::MessageLoop::current()->type(), base::MessageLoop::TYPE_UI); + DCHECK(base::MessageLoopForUI::IsCurrent()); } DesktopProcess::~DesktopProcess() { |