| Index: ui/gl/gl_image_ref_counted_memory.cc
|
| diff --git a/ui/gl/gl_image_ref_counted_memory.cc b/ui/gl/gl_image_ref_counted_memory.cc
|
| index eb93e3fd37b3b32f0b09ada5107ad42c9811adb7..327d0e64e7a2fd14913eb6f220151b4eb8b9b91a 100644
|
| --- a/ui/gl/gl_image_ref_counted_memory.cc
|
| +++ b/ui/gl/gl_image_ref_counted_memory.cc
|
| @@ -19,9 +19,7 @@ GLImageRefCountedMemory::GLImageRefCountedMemory(const gfx::Size& size,
|
| unsigned internalformat)
|
| : GLImageMemory(size, internalformat) {}
|
|
|
| -GLImageRefCountedMemory::~GLImageRefCountedMemory() {
|
| - DCHECK(!ref_counted_memory_.get());
|
| -}
|
| +GLImageRefCountedMemory::~GLImageRefCountedMemory() {}
|
|
|
| bool GLImageRefCountedMemory::Initialize(
|
| base::RefCountedMemory* ref_counted_memory,
|
| @@ -37,11 +35,6 @@ bool GLImageRefCountedMemory::Initialize(
|
| return true;
|
| }
|
|
|
| -void GLImageRefCountedMemory::Destroy(bool have_context) {
|
| - GLImageMemory::Destroy(have_context);
|
| - ref_counted_memory_ = nullptr;
|
| -}
|
| -
|
| void GLImageRefCountedMemory::OnMemoryDump(
|
| base::trace_event::ProcessMemoryDump* pmd,
|
| uint64_t process_tracing_id,
|
|
|