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; |
} |