| Index: remoting/host/host_window_proxy.cc
|
| diff --git a/remoting/host/host_window_proxy.cc b/remoting/host/host_window_proxy.cc
|
| index 862398be672d8f305bc84baf4c0d57099e33f16f..d9f23b0c33627fd7273ba7c2fbb2199316d5b5ab 100644
|
| --- a/remoting/host/host_window_proxy.cc
|
| +++ b/remoting/host/host_window_proxy.cc
|
| @@ -75,19 +75,19 @@ HostWindowProxy::HostWindowProxy(
|
|
|
| // Detach |host_window| from the calling thread so that |Core| could run it on
|
| // the |ui_task_runner_| thread.
|
| - host_window->DetachFromThread();
|
| + DETACH_FROM_SEQUENCE(host_window->sequence_checker_);
|
| core_ = new Core(caller_task_runner, ui_task_runner, std::move(host_window));
|
| }
|
|
|
| HostWindowProxy::~HostWindowProxy() {
|
| - DCHECK(CalledOnValidThread());
|
| + DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
|
|
|
| core_->Stop();
|
| }
|
|
|
| void HostWindowProxy::Start(
|
| const base::WeakPtr<ClientSessionControl>& client_session_control) {
|
| - DCHECK(CalledOnValidThread());
|
| + DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
|
|
|
| core_->Start(client_session_control);
|
| }
|
|
|