Index: media/base/media_file_checker.cc |
diff --git a/media/base/media_file_checker.cc b/media/base/media_file_checker.cc |
index a04775b76b6a3bf68bf116bde4c58105a81b2f53..ab5ada0edd5a19db7073d2377a5151c6b5fc1d48 100644 |
--- a/media/base/media_file_checker.cc |
+++ b/media/base/media_file_checker.cc |
@@ -7,6 +7,7 @@ |
#include <stddef.h> |
#include <stdint.h> |
#include <map> |
+#include <memory> |
#include <utility> |
#include "base/bind.h" |
@@ -58,7 +59,7 @@ bool MediaFileChecker::Start(base::TimeDelta check_time) { |
return false; |
AVPacket packet; |
- scoped_ptr<AVFrame, media::ScopedPtrAVFreeFrame> frame(av_frame_alloc()); |
+ std::unique_ptr<AVFrame, media::ScopedPtrAVFreeFrame> frame(av_frame_alloc()); |
int result = 0; |
const base::TimeTicks deadline = base::TimeTicks::Now() + |