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

Unified Diff: media/filters/source_buffer_stream.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/filters/source_buffer_state_unittest.cc ('k') | media/filters/source_buffer_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/source_buffer_stream.h
diff --git a/media/filters/source_buffer_stream.h b/media/filters/source_buffer_stream.h
index 0a3f0236d6078dfd3a222b70cf9375a5560ec2d1..381dbbd9c1757066652b43b598396186bccb4626 100644
--- a/media/filters/source_buffer_stream.h
+++ b/media/filters/source_buffer_stream.h
@@ -58,11 +58,10 @@ class MEDIA_EXPORT SourceBufferStream {
};
SourceBufferStream(const AudioDecoderConfig& audio_config,
- const scoped_refptr<MediaLog>& media_log);
+ MediaLog* media_log);
SourceBufferStream(const VideoDecoderConfig& video_config,
- const scoped_refptr<MediaLog>& media_log);
- SourceBufferStream(const TextTrackConfig& text_config,
- const scoped_refptr<MediaLog>& media_log);
+ MediaLog* media_log);
+ SourceBufferStream(const TextTrackConfig& text_config, MediaLog* media_log);
~SourceBufferStream();
@@ -370,7 +369,7 @@ class MEDIA_EXPORT SourceBufferStream {
// Used to report log messages that can help the web developer figure out what
// is wrong with the content.
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
// List of disjoint buffered ranges, ordered by start time.
RangeList ranges_;
« no previous file with comments | « media/filters/source_buffer_state_unittest.cc ('k') | media/filters/source_buffer_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698