Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index 7e2c083f035bc577a819e4ad3495699adb858d7c..8d3358757aa7a50c07391d23edb6e9a6cfd70b7a 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -3496,6 +3496,11 @@ void GLES2DecoderImpl::Destroy(bool have_context) { |
vertex_array_manager_.reset(); |
} |
+ if (image_manager_.get()) { |
+ image_manager_->Destroy(have_context); |
+ image_manager_.reset(); |
+ } |
+ |
offscreen_target_frame_buffer_.reset(); |
offscreen_target_color_texture_.reset(); |
offscreen_target_color_render_buffer_.reset(); |