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

Unified Diff: media/filters/gpu_video_decoder.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/frame_processor_unittest.cc ('k') | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index 45c5b202d0090476d7b46434bd292d602569f774..8b001c756965535c8d78e5e811bf86918779fbe4 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -48,7 +48,7 @@ class MEDIA_EXPORT GpuVideoDecoder
public:
GpuVideoDecoder(GpuVideoAcceleratorFactories* factories,
const RequestSurfaceCB& request_surface_cb,
- scoped_refptr<MediaLog> media_log);
+ MediaLog* media_log);
// VideoDecoder implementation.
std::string GetDisplayName() const override;
@@ -172,7 +172,7 @@ class MEDIA_EXPORT GpuVideoDecoder
// normal video frames and not render them to a surface.
RequestSurfaceCB request_surface_cb_;
- scoped_refptr<MediaLog> media_log_;
+ MediaLog* media_log_;
// Populated during Initialize() (on success) and unchanged until an error
// occurs.
« no previous file with comments | « media/filters/frame_processor_unittest.cc ('k') | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698