| Index: ui/gl/gl_context.cc
|
| diff --git a/ui/gl/gl_context.cc b/ui/gl/gl_context.cc
|
| index 60e2b399435f973c62e4765515854dd42f51e8a6..609d131f03cdb075b5b293b500abb15afda5acac 100644
|
| --- a/ui/gl/gl_context.cc
|
| +++ b/ui/gl/gl_context.cc
|
| @@ -273,8 +273,8 @@ void GLContextReal::SetCurrent(GLSurface* surface) {
|
|
|
| scoped_refptr<GLContext> InitializeGLContext(scoped_refptr<GLContext> context,
|
| GLSurface* compatible_surface,
|
| - GpuPreference gpu_preference) {
|
| - if (!context->Initialize(compatible_surface, gpu_preference))
|
| + const GLContextAttribs& attribs) {
|
| + if (!context->Initialize(compatible_surface, attribs))
|
| return nullptr;
|
| return context;
|
| }
|
|
|