| Index: remoting/host/desktop_session_proxy.cc
|
| diff --git a/remoting/host/desktop_session_proxy.cc b/remoting/host/desktop_session_proxy.cc
|
| index 6166d20aa5af2a0103411ab7ba2d89a85fa8a036..caeb7486647329e8daa383d0939279b295d6ad38 100644
|
| --- a/remoting/host/desktop_session_proxy.cc
|
| +++ b/remoting/host/desktop_session_proxy.cc
|
| @@ -225,7 +225,7 @@ bool DesktopSessionProxy::AttachToDesktop(
|
| if (!client_session_control_.get())
|
| return false;
|
|
|
| - desktop_process_ = desktop_process.Pass();
|
| + desktop_process_ = std::move(desktop_process);
|
|
|
| #if defined(OS_WIN)
|
| // On Windows: |desktop_process| is a valid handle, but |desktop_pipe| needs
|
| @@ -399,7 +399,7 @@ void DesktopSessionProxy::StartInputInjector(
|
| scoped_ptr<protocol::ClipboardStub> client_clipboard) {
|
| DCHECK(caller_task_runner_->BelongsToCurrentThread());
|
|
|
| - client_clipboard_ = client_clipboard.Pass();
|
| + client_clipboard_ = std::move(client_clipboard);
|
| }
|
|
|
| void DesktopSessionProxy::SetScreenResolution(
|
| @@ -518,7 +518,7 @@ void DesktopSessionProxy::OnCaptureCompleted(
|
| }
|
|
|
| --pending_capture_frame_requests_;
|
| - PostCaptureCompleted(frame.Pass());
|
| + PostCaptureCompleted(std::move(frame));
|
| }
|
|
|
| void DesktopSessionProxy::OnMouseCursor(
|
|
|