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

Unified Diff: content/renderer/pepper_platform_video_decoder_impl.cc

Issue 7361010: Enable fire-and-forget Destroy of HW video decoder, and misc other improvements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: vrk CR responses. Created 9 years, 5 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
Index: content/renderer/pepper_platform_video_decoder_impl.cc
diff --git a/content/renderer/pepper_platform_video_decoder_impl.cc b/content/renderer/pepper_platform_video_decoder_impl.cc
index 9c8b24721b8ef1c2689893004ce503ce4309ae4f..ac34a3bccff8f98deb38c814fcbf1db8146236e5 100644
--- a/content/renderer/pepper_platform_video_decoder_impl.cc
+++ b/content/renderer/pepper_platform_video_decoder_impl.cc
@@ -20,8 +20,7 @@ PlatformVideoDecoderImpl::PlatformVideoDecoderImpl(
gpu::CommandBufferHelper* cmd_buffer_helper)
: client_(client),
command_buffer_route_id_(command_buffer_route_id),
- cmd_buffer_helper_(cmd_buffer_helper),
- decoder_(NULL) {
+ cmd_buffer_helper_(cmd_buffer_helper) {
DCHECK(client);
}
@@ -133,8 +132,3 @@ void PlatformVideoDecoderImpl::NotifyResetDone() {
DCHECK_EQ(RenderThread::current()->message_loop(), MessageLoop::current());
client_->NotifyResetDone();
}
-
-void PlatformVideoDecoderImpl::NotifyDestroyDone() {
- DCHECK_EQ(RenderThread::current()->message_loop(), MessageLoop::current());
- client_->NotifyDestroyDone();
-}

Powered by Google App Engine
This is Rietveld 408576698