Index: content/renderer/gpu/gpu_video_decode_accelerator_host.cc |
diff --git a/content/renderer/gpu/gpu_video_decode_accelerator_host.cc b/content/renderer/gpu/gpu_video_decode_accelerator_host.cc |
index c9c6d59ed5743a91173ed411a8f377623a7c9754..02eec34b62cccc58044eeace47ef404f30f91cc1 100644 |
--- a/content/renderer/gpu/gpu_video_decode_accelerator_host.cc |
+++ b/content/renderer/gpu/gpu_video_decode_accelerator_host.cc |
@@ -26,12 +26,12 @@ GpuVideoDecodeAcceleratorHost::GpuVideoDecodeAcceleratorHost( |
client_(client) { |
DCHECK(channel_); |
DCHECK(client_); |
- DCHECK(RenderThreadImpl::current()); |
} |
GpuVideoDecodeAcceleratorHost::~GpuVideoDecodeAcceleratorHost() {} |
void GpuVideoDecodeAcceleratorHost::OnChannelError() { |
+ OnErrorNotification(PLATFORM_FAILURE); |
channel_ = NULL; |
} |