| 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 e6d5ba6e4a2e4f66aa35fc33ed60baccf7c474e9..ed4e03f6a3a3ecf0866196f9825648cc5a8832b3 100644
|
| --- a/ui/gl/gl_image_ref_counted_memory.cc
|
| +++ b/ui/gl/gl_image_ref_counted_memory.cc
|
| @@ -15,7 +15,7 @@ GLImageRefCountedMemory::GLImageRefCountedMemory(const gfx::Size& size,
|
| }
|
|
|
| GLImageRefCountedMemory::~GLImageRefCountedMemory() {
|
| - DCHECK(!ref_counted_memory_);
|
| + DCHECK(!ref_counted_memory_.get());
|
| }
|
|
|
| bool GLImageRefCountedMemory::Initialize(
|
| @@ -23,7 +23,7 @@ bool GLImageRefCountedMemory::Initialize(
|
| if (!HasValidFormat())
|
| return false;
|
|
|
| - DCHECK(!ref_counted_memory_);
|
| + DCHECK(!ref_counted_memory_.get());
|
| ref_counted_memory_ = ref_counted_memory;
|
| GLImageMemory::Initialize(ref_counted_memory_->front());
|
| return true;
|
|
|