| 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 e56e4f21d779067f0eff424528d9ab42e765e25b..7b24aeaa67e119af7636709e6fc5ac92b09708fb 100644
|
| --- a/ui/gl/gl_image_io_surface.mm
|
| +++ b/ui/gl/gl_image_io_surface.mm
|
| @@ -16,7 +16,6 @@
|
| #include "base/trace_event/trace_event.h"
|
| #include "ui/gl/gl_bindings.h"
|
| #include "ui/gl/gl_context.h"
|
| -#include "ui/gl/scoped_api.h"
|
| #include "ui/gl/scoped_binders.h"
|
| #include "ui/gl/yuv_to_rgb_converter.h"
|
|
|
| @@ -280,8 +279,6 @@ bool GLImageIOSurface::CopyTexImage(unsigned target) {
|
| YUVToRGBConverter* yuv_to_rgb_converter = gl_context->GetYUVToRGBConverter();
|
| DCHECK(yuv_to_rgb_converter);
|
|
|
| - ScopedSetGLToRealGLApi scoped_set_gl_api;
|
| -
|
| // Note that state restoration is done explicitly instead of scoped binders to
|
| // avoid https://crbug.com/601729.
|
| GLint rgb_texture = 0;
|
|
|