Index: webrtc/modules/desktop_capture/cropped_desktop_frame.cc |
diff --git a/webrtc/modules/desktop_capture/cropped_desktop_frame.cc b/webrtc/modules/desktop_capture/cropped_desktop_frame.cc |
index 2c709733e158e479b0e634bd9127f96ff9c15dab..f57fc572b6581a24123d82866eacda631de04239 100644 |
--- a/webrtc/modules/desktop_capture/cropped_desktop_frame.cc |
+++ b/webrtc/modules/desktop_capture/cropped_desktop_frame.cc |
@@ -8,6 +8,8 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <memory> |
+ |
#include "webrtc/modules/desktop_capture/cropped_desktop_frame.h" |
namespace webrtc { |
@@ -18,7 +20,7 @@ class CroppedDesktopFrame : public DesktopFrame { |
CroppedDesktopFrame(DesktopFrame* frame, const DesktopRect& rect); |
private: |
- rtc::scoped_ptr<DesktopFrame> frame_; |
+ std::unique_ptr<DesktopFrame> frame_; |
RTC_DISALLOW_COPY_AND_ASSIGN(CroppedDesktopFrame); |
}; |