| Index: ui/gl/gl_surface_mac.cc
|
| diff --git a/ui/gl/gl_surface_mac.cc b/ui/gl/gl_surface_mac.cc
|
| index 36a26e87ab8a51f23a6f94aaf4a50eee227e478b..a29b3db01b98e7f014e635b74b60f84be3ea1957 100644
|
| --- a/ui/gl/gl_surface_mac.cc
|
| +++ b/ui/gl/gl_surface_mac.cc
|
| @@ -133,14 +133,13 @@ scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
|
| }
|
|
|
| scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
|
| - const gfx::Size& size,
|
| - GLSurface::Format format) {
|
| + const gfx::Size& size) {
|
| TRACE_EVENT0("gpu", "GLSurface::CreateOffscreenGLSurface");
|
| switch (GetGLImplementation()) {
|
| case kGLImplementationOSMesaGL: {
|
| scoped_refptr<GLSurface> surface(
|
| new GLSurfaceOSMesa(OSMesaSurfaceFormatRGBA, size));
|
| - if (!surface->Initialize(format))
|
| + if (!surface->Initialize())
|
| return NULL;
|
|
|
| return surface;
|
| @@ -149,7 +148,7 @@ scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
|
| case kGLImplementationDesktopGLCoreProfile:
|
| case kGLImplementationAppleGL: {
|
| scoped_refptr<GLSurface> surface(new NoOpGLSurface(size));
|
| - if (!surface->Initialize(format))
|
| + if (!surface->Initialize())
|
| return NULL;
|
|
|
| return surface;
|
|
|