| 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 46b08c5a9dfb724598695ef0df48f3d195bebd9d..4d7b64f32dca242ae52fd5216e03cf61f081ddba 100644
|
| --- a/ui/gl/gl_image_io_surface.mm
|
| +++ b/ui/gl/gl_image_io_surface.mm
|
| @@ -364,6 +364,10 @@ bool GLImageIOSurface::EmulatingRGB() const {
|
| return client_internalformat_ == GL_RGB;
|
| }
|
|
|
| +bool GLImageIOSurface::CanCheckIOSurfaceIsInUse() const {
|
| + return !cv_pixel_buffer_;
|
| +}
|
| +
|
| base::ScopedCFTypeRef<IOSurfaceRef> GLImageIOSurface::io_surface() {
|
| return io_surface_;
|
| }
|
|
|