Index: media/cast/sender/video_encoder_impl.h |
diff --git a/media/cast/sender/video_encoder_impl.h b/media/cast/sender/video_encoder_impl.h |
index f22f40da4569a5e1f048586dab4c82d390335680..fa5b9c3b522703be1313669939e732c813f0a049 100644 |
--- a/media/cast/sender/video_encoder_impl.h |
+++ b/media/cast/sender/video_encoder_impl.h |
@@ -5,8 +5,9 @@ |
#ifndef MEDIA_CAST_SENDER_VIDEO_ENCODER_IMPL_H_ |
#define MEDIA_CAST_SENDER_VIDEO_ENCODER_IMPL_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "media/cast/cast_config.h" |
#include "media/cast/cast_environment.h" |
#include "media/cast/sender/software_video_encoder.h" |
@@ -51,7 +52,7 @@ class VideoEncoderImpl : public VideoEncoder { |
// dereferenced on the main thread. We manage the lifetime of this member |
// manually because it needs to be initialize, used and destroyed on the |
// video encoder thread and video encoder thread can out-live the main thread. |
- scoped_ptr<SoftwareVideoEncoder> encoder_; |
+ std::unique_ptr<SoftwareVideoEncoder> encoder_; |
DISALLOW_COPY_AND_ASSIGN(VideoEncoderImpl); |
}; |