Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index ef6dae73a17d9089b2dd3944daba5ce839042c19..d0332d0573424a50499bc40c9ef16685218355c4 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -744,8 +744,12 @@ void RenderThreadImpl::Shutdown() { |
main_thread_compositor_task_runner_ = NULL; |
- if (gpu_channel_.get()) |
+ gpu_va_context_provider_ = NULL; |
+ |
+ if (gpu_channel_.get()) { |
gpu_channel_->DestroyChannel(); |
+ gpu_channel_ = NULL; |
+ } |
// TODO(port) |
#if defined(OS_WIN) |