Index: remoting/host/chromeos/aura_desktop_capturer.cc |
diff --git a/remoting/host/chromeos/aura_desktop_capturer.cc b/remoting/host/chromeos/aura_desktop_capturer.cc |
index 02b960d839c467418a0f858e3eabbbeb7800eee0..1a053b763b2a7ea56dcb0471432c32cdc54ff3b7 100644 |
--- a/remoting/host/chromeos/aura_desktop_capturer.cc |
+++ b/remoting/host/chromeos/aura_desktop_capturer.cc |
@@ -49,7 +49,7 @@ void AuraDesktopCapturer::Capture(const webrtc::DesktopRegion&) { |
gfx::Rect window_rect(desktop_window_->bounds().size()); |
request->set_area(window_rect); |
- desktop_window_->layer()->RequestCopyOfOutput(request.Pass()); |
+ desktop_window_->layer()->RequestCopyOfOutput(std::move(request)); |
} |
void AuraDesktopCapturer::OnFrameCaptured( |
@@ -64,7 +64,7 @@ void AuraDesktopCapturer::OnFrameCaptured( |
scoped_ptr<SkBitmap> bitmap = result->TakeBitmap(); |
scoped_ptr<webrtc::DesktopFrame> frame( |
- SkiaBitmapDesktopFrame::Create(bitmap.Pass())); |
+ SkiaBitmapDesktopFrame::Create(std::move(bitmap))); |
// |VideoFramePump| will not encode the frame if |updated_region| is empty. |
const webrtc::DesktopRect& rect = webrtc::DesktopRect::MakeWH( |