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

Unified Diff: media/formats/webm/webm_stream_parser.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
Index: media/formats/webm/webm_stream_parser.h
diff --git a/media/formats/webm/webm_stream_parser.h b/media/formats/webm/webm_stream_parser.h
index 0259e083302d7945daa3e6168ec27bf5340cb36f..bc79c6053266b6ad1fd81373a8d0db507710c4aa 100644
--- a/media/formats/webm/webm_stream_parser.h
+++ b/media/formats/webm/webm_stream_parser.h
@@ -35,7 +35,7 @@ class MEDIA_EXPORT WebMStreamParser : 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;
@@ -80,7 +80,7 @@ class MEDIA_EXPORT WebMStreamParser : public StreamParser {
NewMediaSegmentCB new_segment_cb_;
EndMediaSegmentCB end_of_segment_cb_;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
bool unknown_segment_size_;
« no previous file with comments | « media/formats/webm/webm_content_encodings_client_unittest.cc ('k') | media/formats/webm/webm_stream_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698