Chromium Code Reviews| Index: content/common/gpu/client/gpu_memory_buffer_impl.cc |
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl.cc b/content/common/gpu/client/gpu_memory_buffer_impl.cc |
| index 0b2d249db42a6822751b736e0affb531183ecd4c..186cc2da10e2829093223999993d8a83e4c0db66 100644 |
| --- a/content/common/gpu/client/gpu_memory_buffer_impl.cc |
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl.cc |
| @@ -36,6 +36,7 @@ GpuMemoryBufferImpl::GpuMemoryBufferImpl(gfx::GpuMemoryBufferId id, |
| } |
| GpuMemoryBufferImpl::~GpuMemoryBufferImpl() { |
| + DCHECK(!mapped_); |
|
reveman
2015/05/11 16:40:56
this is fine but unrelated to this change. please
dshwang
2015/05/14 12:25:46
got it
|
| callback_.Run(destruction_sync_point_); |
| } |