| Index: ui/gl/gl_surface_android.cc
|
| diff --git a/ui/gl/gl_surface_android.cc b/ui/gl/gl_surface_android.cc
|
| index 05a92eeb9f8c6120d5727c3693d496507e54ec3c..4bd113b2b32230c98b9f6cb431ed1cb263e739c1 100644
|
| --- a/ui/gl/gl_surface_android.cc
|
| +++ b/ui/gl/gl_surface_android.cc
|
| @@ -54,14 +54,13 @@ scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
|
|
|
| // static
|
| scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
|
| - const gfx::Size& size,
|
| - GLSurface::Format format) {
|
| + const gfx::Size& size) {
|
| CHECK_NE(kGLImplementationNone, GetGLImplementation());
|
| switch (GetGLImplementation()) {
|
| case kGLImplementationOSMesaGL: {
|
| scoped_refptr<GLSurface> surface(
|
| new GLSurfaceOSMesa(OSMesaSurfaceFormatBGRA, size));
|
| - if (!surface->Initialize(format))
|
| + if (!surface->Initialize())
|
| return NULL;
|
|
|
| return surface;
|
| @@ -75,7 +74,7 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
|
| surface = new PbufferGLSurfaceEGL(size);
|
| }
|
|
|
| - if (!surface->Initialize(format))
|
| + if (!surface->Initialize())
|
| return NULL;
|
| return surface;
|
| }
|
|
|