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

Unified Diff: media/formats/mp4/mp4_stream_parser.h

Issue 2815303006: Convert MediaLog from being ref counted to owned by WebMediaPlayer. (Closed)
Patch Set: Actually fix fuzzers. 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
Index: media/formats/mp4/mp4_stream_parser.h
diff --git a/media/formats/mp4/mp4_stream_parser.h b/media/formats/mp4/mp4_stream_parser.h
index c0997435be6aca7afe8d5410e0437b8c604be69c..888cf3051aecd2f7708e15069d80f947a2814f9c 100644
--- a/media/formats/mp4/mp4_stream_parser.h
+++ b/media/formats/mp4/mp4_stream_parser.h
@@ -37,7 +37,7 @@ class MEDIA_EXPORT MP4StreamParser : public StreamParser {
const EncryptedMediaInitDataCB& encrypted_media_init_data_cb,
const NewMediaSegmentCB& new_segment_cb,
const EndMediaSegmentCB& end_of_segment_cb,
- const scoped_refptr<MediaLog>& media_log) override;
+ MediaLog* media_log) override;
void Flush() override;
bool Parse(const uint8_t* buf, int size) override;
@@ -94,7 +94,7 @@ class MEDIA_EXPORT MP4StreamParser : public StreamParser {
EncryptedMediaInitDataCB encrypted_media_init_data_cb_;
NewMediaSegmentCB new_segment_cb_;
EndMediaSegmentCB end_of_segment_cb_;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
OffsetByteQueue queue_;

Powered by Google App Engine
This is Rietveld 408576698