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

Unified Diff: media/filters/video_renderer_algorithm.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/video_frame_stream_unittest.cc ('k') | media/filters/video_renderer_algorithm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_renderer_algorithm.h
diff --git a/media/filters/video_renderer_algorithm.h b/media/filters/video_renderer_algorithm.h
index 0ce78092a3bede603e8c74399e9cb4f79923c191..929a87b19f9f3d9a47034c60746d4fb702f4b879 100644
--- a/media/filters/video_renderer_algorithm.h
+++ b/media/filters/video_renderer_algorithm.h
@@ -51,7 +51,7 @@ class MediaLog;
class MEDIA_EXPORT VideoRendererAlgorithm {
public:
VideoRendererAlgorithm(const TimeSource::WallClockTimeCB& wall_clock_time_cb,
- scoped_refptr<MediaLog> media_log);
+ MediaLog* media_log);
~VideoRendererAlgorithm();
// Chooses the best frame for the interval [deadline_min, deadline_max] based
@@ -267,7 +267,7 @@ class MEDIA_EXPORT VideoRendererAlgorithm {
// UpdateEffectiveFramesQueued().
size_t CountEffectiveFramesQueued() const;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
int out_of_order_frame_logs_ = 0;
// Queue of incoming frames waiting for rendering.
« no previous file with comments | « media/filters/video_frame_stream_unittest.cc ('k') | media/filters/video_renderer_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698