Chromium Code Reviews| 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 319e37d0ccd3e24887b0bf099c830d12026e61c2..782773aa619b40dfeb2dc96d0515282d1b12fe84 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| @@ -3750,6 +3750,9 @@ void GLES2DecoderImpl::Destroy(bool have_context) { |
| // by the context group. |
| async_pixel_transfer_manager_.reset(); |
| + // Destroy the GPU Tracer which may own some in process GPU Timings. |
| + gpu_tracer_->Destroy(have_context); |
|
vmiura
2015/03/19 22:56:36
Should we also delete gpu_tracer_here? gpu_tracer_
David Yen
2015/03/25 23:33:58
Done.
|
| + |
| if (group_.get()) { |
| framebuffer_manager()->RemoveObserver(this); |
| group_->Destroy(this, have_context); |