| Index: ui/gl/gl_surface_ozone.cc
|
| diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc
|
| index 7bc2ed72b43c030d29651ba365c44f7368c222c7..2e141f905ca8df2c7a1416cdcbb374b009f3bc6c 100644
|
| --- a/ui/gl/gl_surface_ozone.cc
|
| +++ b/ui/gl/gl_surface_ozone.cc
|
| @@ -724,12 +724,12 @@ scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
|
|
|
| // static
|
| scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
|
| - const gfx::Size& size, GLSurface::Format format) {
|
| + const gfx::Size& size) {
|
| switch (GetGLImplementation()) {
|
| case kGLImplementationOSMesaGL: {
|
| scoped_refptr<GLSurface> surface(
|
| new GLSurfaceOSMesa(OSMesaSurfaceFormatBGRA, size));
|
| - if (!surface->Initialize(format))
|
| + if (!surface->Initialize())
|
| return nullptr;
|
|
|
| return surface;
|
| @@ -743,7 +743,7 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
|
| surface = new PbufferGLSurfaceEGL(size);
|
| }
|
|
|
| - if (!surface->Initialize(format))
|
| + if (!surface->Initialize())
|
| return nullptr;
|
| return surface;
|
| }
|
|
|