Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: media/formats/mp2t/es_parser.h

Issue 1874413003: Convert media/formats to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/formats/mp2t/es_parser.h
diff --git a/media/formats/mp2t/es_parser.h b/media/formats/mp2t/es_parser.h
index ee9d6e89c67a84e06a215cdd30bc0b1c4dac60d2..b9a813bade36d0d94c11ae30c67e638a5dcb459b 100644
--- a/media/formats/mp2t/es_parser.h
+++ b/media/formats/mp2t/es_parser.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <list>
+#include <memory>
#include <utility>
#include "base/callback.h"
@@ -68,7 +69,7 @@ class MEDIA_EXPORT EsParser {
TimingDesc GetTimingDescriptor(int64_t es_byte_count);
// Bytes of the ES stream that have not been emitted yet.
- scoped_ptr<media::OffsetByteQueue> es_queue_;
+ std::unique_ptr<media::OffsetByteQueue> es_queue_;
private:
// Anchor some timing information into the ES queue.

Powered by Google App Engine
This is Rietveld 408576698