Chromium Code Reviews| 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..1a46d5da01a8f45c6ec74075f861ddf648a89fad 100644 |
| --- a/content/common/gpu/gpu_channel.cc |
| +++ b/content/common/gpu/gpu_channel.cc |
| @@ -404,6 +404,10 @@ GpuChannel::~GpuChannel() { |
| STLDeleteElements(&deferred_messages_); |
| if (preempting_flag_.get()) |
| preempting_flag_->Reset(); |
| + |
| + if (image_manager_ != NULL) { |
|
reveman
2014/06/02 16:45:29
nit: "if (image_manager_)" instead and you can rem
sohanjg
2014/06/03 05:48:33
Done.
|
| + image_manager_->Destroy(true); |
| + } |
| } |
| void GpuChannel::Init(base::MessageLoopProxy* io_message_loop, |