| Index: ui/gl/gl_image_io_surface.mm
|
| diff --git a/ui/gl/gl_image_io_surface.mm b/ui/gl/gl_image_io_surface.mm
|
| index 7c7000c439a8c6d68f51b32838b9344024c6000b..e56e4f21d779067f0eff424528d9ab42e765e25b 100644
|
| --- a/ui/gl/gl_image_io_surface.mm
|
| +++ b/ui/gl/gl_image_io_surface.mm
|
| @@ -182,7 +182,6 @@ GLImageIOSurface::GLImageIOSurface(const gfx::Size& size,
|
|
|
| GLImageIOSurface::~GLImageIOSurface() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| - DCHECK(!io_surface_);
|
| }
|
|
|
| bool GLImageIOSurface::Initialize(IOSurfaceRef io_surface,
|
| @@ -224,12 +223,6 @@ bool GLImageIOSurface::InitializeWithCVPixelBuffer(
|
| return true;
|
| }
|
|
|
| -void GLImageIOSurface::Destroy(bool have_context) {
|
| - DCHECK(thread_checker_.CalledOnValidThread());
|
| - io_surface_.reset();
|
| - cv_pixel_buffer_.reset();
|
| -}
|
| -
|
| gfx::Size GLImageIOSurface::GetSize() {
|
| return size_;
|
| }
|
|
|