| Index: remoting/host/single_window_desktop_environment.cc
|
| diff --git a/remoting/host/single_window_desktop_environment.cc b/remoting/host/single_window_desktop_environment.cc
|
| index 15da395237f0b49ff001acf98978773a7fd884d1..b7394f498da34f1c401736b888fe84e9c6b4d9ea 100644
|
| --- a/remoting/host/single_window_desktop_environment.cc
|
| +++ b/remoting/host/single_window_desktop_environment.cc
|
| @@ -48,11 +48,11 @@ SingleWindowDesktopEnvironment::CreateVideoCapturer() {
|
| webrtc::DesktopCaptureOptions::CreateDefault();
|
| options.set_use_update_notifications(true);
|
|
|
| - scoped_ptr<webrtc::WindowCapturer>window_capturer(
|
| + scoped_ptr<webrtc::WindowCapturer> window_capturer(
|
| webrtc::WindowCapturer::Create(options));
|
| window_capturer->SelectWindow(window_id_);
|
|
|
| - return window_capturer.Pass();
|
| + return std::move(window_capturer);
|
| }
|
|
|
| scoped_ptr<InputInjector>
|
| @@ -63,7 +63,7 @@ SingleWindowDesktopEnvironment::CreateInputInjector() {
|
| InputInjector::Create(input_task_runner(),
|
| ui_task_runner()));
|
| return SingleWindowInputInjector::CreateForWindow(
|
| - window_id_, input_injector.Pass()).Pass();
|
| + window_id_, std::move(input_injector));
|
| }
|
|
|
| SingleWindowDesktopEnvironment::SingleWindowDesktopEnvironment(
|
| @@ -104,7 +104,7 @@ scoped_ptr<DesktopEnvironment> SingleWindowDesktopEnvironmentFactory::Create(
|
| ui_task_runner(),
|
| window_id_,
|
| supports_touch_events()));
|
| - return desktop_environment.Pass();
|
| + return std::move(desktop_environment);
|
| }
|
|
|
| } // namespace remoting
|
|
|