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

Unified Diff: media/filters/frame_processor.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/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;

Powered by Google App Engine
This is Rietveld 408576698