Index: webrtc/media/engine/webrtcvideoframefactory.cc |
diff --git a/webrtc/media/engine/webrtcvideoframefactory.cc b/webrtc/media/engine/webrtcvideoframefactory.cc |
index d7f7b16a5635df28aa743e99fceee60f5ff914df..2c08c63129c6c28303a743d5122bf69d6e0f57d3 100644 |
--- a/webrtc/media/engine/webrtcvideoframefactory.cc |
+++ b/webrtc/media/engine/webrtcvideoframefactory.cc |
@@ -8,6 +8,8 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <memory> |
+ |
#include "webrtc/base/logging.h" |
#include "webrtc/media/engine/webrtcvideoframe.h" |
#include "webrtc/media/engine/webrtcvideoframefactory.h" |
@@ -16,7 +18,7 @@ namespace cricket { |
VideoFrame* WebRtcVideoFrameFactory::CreateAliasedFrame( |
const CapturedFrame* aliased_frame, int width, int height) const { |
- rtc::scoped_ptr<WebRtcVideoFrame> frame(new WebRtcVideoFrame()); |
+ std::unique_ptr<WebRtcVideoFrame> frame(new WebRtcVideoFrame()); |
if (!frame->Init(aliased_frame, width, height, apply_rotation_)) { |
LOG(LS_ERROR) << |
"Failed to create WebRtcVideoFrame in CreateAliasedFrame."; |