Index: webrtc/modules/desktop_capture/cropping_window_capturer.cc |
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.cc b/webrtc/modules/desktop_capture/cropping_window_capturer.cc |
index 7aab7f8e3c07fc4b0620d920ff7a10c5dea9c087..0dd564f17058da883a53cea2a6e622a2def7153f 100644 |
--- a/webrtc/modules/desktop_capture/cropping_window_capturer.cc |
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer.cc |
@@ -75,7 +75,7 @@ bool CroppingWindowCapturer::BringSelectedWindowToFront() { |
} |
void CroppingWindowCapturer::OnCaptureCompleted(DesktopFrame* frame) { |
- rtc::scoped_ptr<DesktopFrame> screen_frame(frame); |
+ std::unique_ptr<DesktopFrame> screen_frame(frame); |
if (!ShouldUseScreenCapturer()) { |
LOG(LS_INFO) << "Window no longer on top when ScreenCapturer finishes"; |
@@ -96,7 +96,7 @@ void CroppingWindowCapturer::OnCaptureCompleted(DesktopFrame* frame) { |
return; |
} |
- rtc::scoped_ptr<DesktopFrame> window_frame( |
+ std::unique_ptr<DesktopFrame> window_frame( |
CreateCroppedDesktopFrame(screen_frame.release(), window_rect)); |
callback_->OnCaptureCompleted(window_frame.release()); |
} |