| 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 3059333cc8896feb96c15f2b4147e3e927a3f417..95a6ea535e4eb8cb32e890860ea6decf97f9a51f 100644
|
| --- a/ui/gl/gl_image_io_surface.mm
|
| +++ b/ui/gl/gl_image_io_surface.mm
|
| @@ -201,6 +201,7 @@ GLImageIOSurface::~GLImageIOSurface() {
|
| }
|
|
|
| bool GLImageIOSurface::Initialize(IOSurfaceRef io_surface,
|
| + CVPixelBufferRef cv_pixel_buffer,
|
| gfx::GenericSharedMemoryId io_surface_id,
|
| BufferFormat format) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| @@ -219,6 +220,7 @@ bool GLImageIOSurface::Initialize(IOSurfaceRef io_surface,
|
| format_ = format;
|
| io_surface_.reset(io_surface, base::scoped_policy::RETAIN);
|
| io_surface_id_ = io_surface_id;
|
| + cv_pixel_buffer_.reset(cv_pixel_buffer, base::scoped_policy::RETAIN);
|
| return true;
|
| }
|
|
|
|
|