diff options
Diffstat (limited to 'chrome/renderer/media/video_renderer_impl.cc')
-rw-r--r-- | chrome/renderer/media/video_renderer_impl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/renderer/media/video_renderer_impl.cc b/chrome/renderer/media/video_renderer_impl.cc index 542959f..ed1704f 100644 --- a/chrome/renderer/media/video_renderer_impl.cc +++ b/chrome/renderer/media/video_renderer_impl.cc @@ -13,6 +13,10 @@ VideoRendererImpl::VideoRendererImpl(WebMediaPlayerDelegateImpl* delegate) delegate_->SetVideoRenderer(this); } +void VideoRendererImpl::OnStop() { + delegate_->SetVideoRenderer(NULL); +} + bool VideoRendererImpl::OnInitialize(size_t width, size_t height) { video_size_.SetSize(width, height); bitmap_.setConfig(SkBitmap::kARGB_8888_Config, width, height); |