| Index: remoting/host/host_window_proxy.cc
|
| diff --git a/remoting/host/host_window_proxy.cc b/remoting/host/host_window_proxy.cc
|
| index e5be61676e626eeb06a6663c4b6510c01f113227..00edf8228ceb759a25d0c24758de8ef6df942001 100644
|
| --- a/remoting/host/host_window_proxy.cc
|
| +++ b/remoting/host/host_window_proxy.cc
|
| @@ -74,7 +74,7 @@ HostWindowProxy::HostWindowProxy(
|
| // Detach |host_window| from the calling thread so that |Core| could run it on
|
| // the |ui_task_runner_| thread.
|
| host_window->DetachFromThread();
|
| - core_ = new Core(caller_task_runner, ui_task_runner, host_window.Pass());
|
| + core_ = new Core(caller_task_runner, ui_task_runner, std::move(host_window));
|
| }
|
|
|
| HostWindowProxy::~HostWindowProxy() {
|
| @@ -96,7 +96,7 @@ HostWindowProxy::Core::Core(
|
| scoped_ptr<HostWindow> host_window)
|
| : caller_task_runner_(caller_task_runner),
|
| ui_task_runner_(ui_task_runner),
|
| - host_window_(host_window.Pass()),
|
| + host_window_(std::move(host_window)),
|
| weak_factory_(this) {
|
| DCHECK(caller_task_runner->BelongsToCurrentThread());
|
| }
|
|
|