| Index: remoting/host/ipc_util_win.cc
|
| diff --git a/remoting/host/ipc_util_win.cc b/remoting/host/ipc_util_win.cc
|
| index 22ac15a0ea8472740df023c2e709331857f1e41c..42863c7ab9bb9fb73129d6b58b2fba3177228294 100644
|
| --- a/remoting/host/ipc_util_win.cc
|
| +++ b/remoting/host/ipc_util_win.cc
|
| @@ -84,8 +84,8 @@ bool CreateConnectedIpcChannel(
|
| return false;
|
| }
|
|
|
| - *client_out = client.Pass();
|
| - *server_out = server.Pass();
|
| + *client_out = std::move(client);
|
| + *server_out = std::move(server);
|
| return true;
|
| }
|
|
|
| @@ -128,7 +128,7 @@ bool CreateIpcChannel(
|
| return false;
|
| }
|
|
|
| - *pipe_out = pipe.Pass();
|
| + *pipe_out = std::move(pipe);
|
| return true;
|
| }
|
|
|
|
|