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

Unified Diff: content/renderer/gpu/gpu_video_decode_accelerator_host.cc

Issue 8897022: Revert 113895 - <video> decode in hardware! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « content/content_renderer.gypi ('k') | content/renderer/media/audio_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/gpu_video_decode_accelerator_host.cc
===================================================================
--- content/renderer/gpu/gpu_video_decode_accelerator_host.cc (revision 113906)
+++ content/renderer/gpu/gpu_video_decode_accelerator_host.cc (working copy)
@@ -26,12 +26,12 @@
client_(client) {
DCHECK(channel_);
DCHECK(client_);
+ DCHECK(RenderThreadImpl::current());
}
GpuVideoDecodeAcceleratorHost::~GpuVideoDecodeAcceleratorHost() {}
void GpuVideoDecodeAcceleratorHost::OnChannelError() {
- OnErrorNotification(PLATFORM_FAILURE);
channel_ = NULL;
}
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/media/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698