Index: webrtc/modules/desktop_capture/shared_desktop_frame.cc |
diff --git a/webrtc/modules/desktop_capture/shared_desktop_frame.cc b/webrtc/modules/desktop_capture/shared_desktop_frame.cc |
index 1f1aefa13bdfbbaa31cfb2622557c2838e2b65ef..309bac55add20cb268344508433b8f081016bd3b 100644 |
--- a/webrtc/modules/desktop_capture/shared_desktop_frame.cc |
+++ b/webrtc/modules/desktop_capture/shared_desktop_frame.cc |
@@ -10,7 +10,8 @@ |
#include "webrtc/modules/desktop_capture/shared_desktop_frame.h" |
-#include "webrtc/base/scoped_ptr.h" |
+#include <memory> |
+ |
#include "webrtc/system_wrappers/include/atomic32.h" |
namespace webrtc { |
@@ -39,7 +40,7 @@ class SharedDesktopFrame::Core { |
virtual ~Core() {} |
Atomic32 ref_count_; |
- rtc::scoped_ptr<DesktopFrame> frame_; |
+ std::unique_ptr<DesktopFrame> frame_; |
RTC_DISALLOW_COPY_AND_ASSIGN(Core); |
}; |