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

Unified Diff: media/filters/frame_processor.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/ffmpeg_video_decoder_unittest.cc ('k') | media/filters/frame_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/frame_processor.h
diff --git a/media/filters/frame_processor.h b/media/filters/frame_processor.h
index dd28bad83d0d4a5cc156154e7a6f146132a56175..71bac677603140ff5d29dce2f46e70d4247799e5 100644
--- a/media/filters/frame_processor.h
+++ b/media/filters/frame_processor.h
@@ -27,7 +27,7 @@ class MEDIA_EXPORT FrameProcessor {
typedef base::Callback<void(base::TimeDelta)> UpdateDurationCB;
FrameProcessor(const UpdateDurationCB& update_duration_cb,
- const scoped_refptr<MediaLog>& media_log);
+ MediaLog* media_log);
~FrameProcessor();
// Get/set the current append mode, which if true means "sequence" and if
@@ -170,7 +170,7 @@ class MEDIA_EXPORT FrameProcessor {
UpdateDurationCB update_duration_cb_;
// MediaLog for reporting messages and properties to debug content and engine.
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
// Counters that limit spam to |media_log_| for frame processor warnings.
int num_dropped_preroll_warnings_ = 0;
« no previous file with comments | « media/filters/ffmpeg_video_decoder_unittest.cc ('k') | media/filters/frame_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698