diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-24 02:47:00 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-24 02:47:00 +0000 |
commit | ae806170d8cc8dd671858a71af28cec8841cc0d8 (patch) | |
tree | cf6f36dc26fba8aad01ebfe2a4be70478c77f8b4 /chrome/renderer/media | |
parent | 9e20ae016a18bf642481dd06d81bf2fc8cf8a1c7 (diff) | |
download | chromium_src-ae806170d8cc8dd671858a71af28cec8841cc0d8.zip chromium_src-ae806170d8cc8dd671858a71af28cec8841cc0d8.tar.gz chromium_src-ae806170d8cc8dd671858a71af28cec8841cc0d8.tar.bz2 |
TBR=ralphl
VideoRendererImpl should be registering with WebMediaPlayerDelegateImpl in ctor.
Review URL: http://codereview.chromium.org/47008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/media')
-rw-r--r-- | chrome/renderer/media/video_renderer_impl.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/media/video_renderer_impl.cc b/chrome/renderer/media/video_renderer_impl.cc index 05cbb44..ac7a841 100644 --- a/chrome/renderer/media/video_renderer_impl.cc +++ b/chrome/renderer/media/video_renderer_impl.cc @@ -8,6 +8,9 @@ VideoRendererImpl::VideoRendererImpl(WebMediaPlayerDelegateImpl* delegate) : delegate_(delegate), last_converted_frame_(NULL) { + // TODO(hclam): decide whether to do the following line in this thread or + // in the render thread. + delegate_->SetVideoRenderer(this); } bool VideoRendererImpl::OnInitialize(size_t width, size_t height) { |