Chromium Code Reviews| Index: gpu/command_buffer/service/context_group.cc |
| diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc |
| index ba0437bfd4e389158b767c2c1398b41c33eb4d55..5e812ab6c090a2506ea875b21621feec0c0f480d 100644 |
| --- a/gpu/command_buffer/service/context_group.cc |
| +++ b/gpu/command_buffer/service/context_group.cc |
| @@ -324,6 +324,9 @@ void ContextGroup::Destroy(GLES2Decoder* decoder, bool have_context) { |
| shader_manager_.reset(); |
| } |
| + if (image_manager_) |
| + image_manager_->Destroy(have_context); |
|
reveman
2014/06/03 13:57:39
This is not right. What if the image manager is us
sohanjg
2014/06/03 15:09:20
Done.
|
| + |
| memory_tracker_ = NULL; |
| } |