Index: media/base/renderer.h |
diff --git a/media/base/renderer.h b/media/base/renderer.h |
index fe3a49a5bcec999153bb16b887a997e58e73e99f..44e353dfd46a5d447dc4185515c2852697d3b718 100644 |
--- a/media/base/renderer.h |
+++ b/media/base/renderer.h |
@@ -16,7 +16,7 @@ |
namespace media { |
-class DemuxerStreamProvider; |
+class MediaResource; |
class RendererClient; |
class MEDIA_EXPORT Renderer { |
@@ -26,12 +26,12 @@ class MEDIA_EXPORT Renderer { |
// Stops rendering and fires any pending callbacks. |
virtual ~Renderer(); |
- // Initializes the Renderer with |demuxer_stream_provider|, executing |
- // |init_cb| upon completion. |demuxer_stream_provider| must be valid for |
+ // Initializes the Renderer with |media_resource|, executing |
+ // |init_cb| upon completion. |media_resource| must be valid for |
xhwang
2017/02/01 18:26:03
nit: please re-flow the comment
servolk
2017/02/01 22:29:17
Done.
|
// the lifetime of the Renderer object. |init_cb| must only be run after this |
// method has returned. Firing |init_cb| may result in the immediate |
// destruction of the caller, so it must be run only prior to returning. |
- virtual void Initialize(DemuxerStreamProvider* demuxer_stream_provider, |
+ virtual void Initialize(MediaResource* media_resource, |
RendererClient* client, |
const PipelineStatusCB& init_cb) = 0; |