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

Unified Diff: media/formats/mpeg/mpeg_audio_stream_parser_base.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/mpeg/mpeg_audio_stream_parser_base.h
diff --git a/media/formats/mpeg/mpeg_audio_stream_parser_base.h b/media/formats/mpeg/mpeg_audio_stream_parser_base.h
index 47c9fff9b65682ed1ea470c8625ee6bb3c5c9f7f..cd7fd74d720efb06dfea84cf64955dce25f9d00f 100644
--- a/media/formats/mpeg/mpeg_audio_stream_parser_base.h
+++ b/media/formats/mpeg/mpeg_audio_stream_parser_base.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include <memory>
#include <set>
#include <vector>
@@ -144,7 +145,7 @@ class MEDIA_EXPORT MPEGAudioStreamParserBase : public StreamParser {
ByteQueue queue_;
AudioDecoderConfig config_;
- scoped_ptr<AudioTimestampHelper> timestamp_helper_;
+ std::unique_ptr<AudioTimestampHelper> timestamp_helper_;
bool in_media_segment_;
const uint32_t start_code_mask_;
const AudioCodec audio_codec_;

Powered by Google App Engine
This is Rietveld 408576698