Index: content/common/gpu/gpu_channel.cc |
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc |
index 1c8e4f95f3cb853e72a7ab1829288f19ed86b002..3457255feaa6d787c8d1026e121e43e7856fdc0f 100644 |
--- a/content/common/gpu/gpu_channel.cc |
+++ b/content/common/gpu/gpu_channel.cc |
@@ -404,6 +404,9 @@ GpuChannel::~GpuChannel() { |
STLDeleteElements(&deferred_messages_); |
if (preempting_flag_.get()) |
preempting_flag_->Reset(); |
+ |
+ if (image_manager_) |
+ image_manager_->Destroy(true); |
reveman
2014/06/03 13:57:39
true? Do you always have a context current in this
sohanjg
2014/06/03 15:09:20
Done.
gpu channel was destroyed before cmd buffer
|
} |
void GpuChannel::Init(base::MessageLoopProxy* io_message_loop, |