| Index: ui/gl/init/gl_factory_x11.cc
|
| diff --git a/ui/gl/init/gl_factory_x11.cc b/ui/gl/init/gl_factory_x11.cc
|
| index e78c203e99d72e1b18aca1107a09b8684ea6b848..88f86206e900cc5ece1eb3e89886edac3122fa31 100644
|
| --- a/ui/gl/init/gl_factory_x11.cc
|
| +++ b/ui/gl/init/gl_factory_x11.cc
|
| @@ -47,18 +47,18 @@ bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) {
|
|
|
| scoped_refptr<GLContext> CreateGLContext(GLShareGroup* share_group,
|
| GLSurface* compatible_surface,
|
| - GpuPreference gpu_preference) {
|
| + const GLContextAttribs& attribs) {
|
| TRACE_EVENT0("gpu", "gl::init::CreateGLContext");
|
| switch (GetGLImplementation()) {
|
| case kGLImplementationOSMesaGL:
|
| return InitializeGLContext(new GLContextOSMesa(share_group),
|
| - compatible_surface, gpu_preference);
|
| + compatible_surface, attribs);
|
| case kGLImplementationDesktopGL:
|
| return InitializeGLContext(new GLContextGLX(share_group),
|
| - compatible_surface, gpu_preference);
|
| + compatible_surface, attribs);
|
| case kGLImplementationEGLGLES2:
|
| return InitializeGLContext(new GLContextEGL(share_group),
|
| - compatible_surface, gpu_preference);
|
| + compatible_surface, attribs);
|
| case kGLImplementationMockGL:
|
| return new GLContextStub(share_group);
|
| default:
|
|
|