| Index: remoting/protocol/fake_connection_to_client.cc
|
| diff --git a/remoting/protocol/fake_connection_to_client.cc b/remoting/protocol/fake_connection_to_client.cc
|
| index 3caeb550af93bdc08b87927387f8769e3e300c8b..5887c5dc060ea64cc9eb532d271e94f2501c1ac2 100644
|
| --- a/remoting/protocol/fake_connection_to_client.cc
|
| +++ b/remoting/protocol/fake_connection_to_client.cc
|
| @@ -30,7 +30,7 @@ base::WeakPtr<FakeVideoStream> FakeVideoStream::GetWeakPtr() {
|
| }
|
|
|
| FakeConnectionToClient::FakeConnectionToClient(scoped_ptr<Session> session)
|
| - : session_(session.Pass()) {}
|
| + : session_(std::move(session)) {}
|
|
|
| FakeConnectionToClient::~FakeConnectionToClient() {}
|
|
|
| @@ -42,7 +42,7 @@ scoped_ptr<VideoStream> FakeConnectionToClient::StartVideoStream(
|
| scoped_ptr<webrtc::DesktopCapturer> desktop_capturer) {
|
| scoped_ptr<FakeVideoStream> result(new FakeVideoStream());
|
| last_video_stream_ = result->GetWeakPtr();
|
| - return result.Pass();
|
| + return std::move(result);
|
| }
|
|
|
| AudioStub* FakeConnectionToClient::audio_stub() {
|
|
|