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

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

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Rebase. Created 3 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
« no previous file with comments | « media/formats/common/stream_parser_test_base.cc ('k') | media/formats/mp2t/es_parser_mpeg1audio.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp2t/es_parser_mpeg1audio.h
diff --git a/media/formats/mp2t/es_parser_mpeg1audio.h b/media/formats/mp2t/es_parser_mpeg1audio.h
index ad29132bbd34a44bd9ac10af4eb44e3a3fa16ac5..56e5a8bf73cb16c6275e75598849139d3deb1c31 100644
--- a/media/formats/mp2t/es_parser_mpeg1audio.h
+++ b/media/formats/mp2t/es_parser_mpeg1audio.h
@@ -33,7 +33,7 @@ class MEDIA_EXPORT EsParserMpeg1Audio : public EsParser {
EsParserMpeg1Audio(const NewAudioConfigCB& new_audio_config_cb,
const EmitBufferCB& emit_buffer_cb,
- const scoped_refptr<MediaLog>& media_log);
+ MediaLog* media_log);
~EsParserMpeg1Audio() override;
// EsParser implementation.
@@ -65,7 +65,7 @@ class MEDIA_EXPORT EsParserMpeg1Audio : public EsParser {
void SkipMpeg1AudioFrame(const Mpeg1AudioFrame& mpeg1audio_frame);
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
// Callbacks:
// - to signal a new audio configuration,
« no previous file with comments | « media/formats/common/stream_parser_test_base.cc ('k') | media/formats/mp2t/es_parser_mpeg1audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698