| Index: remoting/host/desktop_capturer_proxy.cc
|
| diff --git a/remoting/host/desktop_capturer_proxy.cc b/remoting/host/desktop_capturer_proxy.cc
|
| index ad26527c01a76b606dccde5bc619b4b83c4f6c55..aa7117931f4859a99b4fd1ff92a5cb48df48aa0f 100644
|
| --- a/remoting/host/desktop_capturer_proxy.cc
|
| +++ b/remoting/host/desktop_capturer_proxy.cc
|
| @@ -44,7 +44,7 @@ DesktopCapturerProxy::Core::Core(
|
| scoped_ptr<webrtc::DesktopCapturer> capturer)
|
| : proxy_(proxy),
|
| caller_task_runner_(base::ThreadTaskRunnerHandle::Get()),
|
| - capturer_(capturer.Pass()) {
|
| + capturer_(std::move(capturer)) {
|
| thread_checker_.DetachFromThread();
|
| }
|
|
|
| @@ -87,7 +87,7 @@ DesktopCapturerProxy::DesktopCapturerProxy(
|
| : capture_task_runner_(capture_task_runner),
|
| weak_factory_(this) {
|
| core_.reset(new Core(weak_factory_.GetWeakPtr(), capture_task_runner,
|
| - capturer.Pass()));
|
| + std::move(capturer)));
|
| }
|
|
|
| void DesktopCapturerProxy::Start(Callback* callback) {
|
|
|