Index: ui/gl/init/gl_factory.h |
diff --git a/ui/gl/init/gl_factory.h b/ui/gl/init/gl_factory.h |
index 37542fb917616ceba8284d407bcb4a7d667ef2ef..be8b2441c46e65604ece9b0d7cd7affff69b62d8 100644 |
--- a/ui/gl/init/gl_factory.h |
+++ b/ui/gl/init/gl_factory.h |
@@ -17,6 +17,7 @@ |
namespace gl { |
class GLContext; |
+struct GLContextAttribs; |
class GLShareGroup; |
class GLSurface; |
@@ -50,7 +51,7 @@ GL_INIT_EXPORT bool GetGLWindowSystemBindingInfo( |
GL_INIT_EXPORT scoped_refptr<GLContext> CreateGLContext( |
GLShareGroup* share_group, |
GLSurface* compatible_surface, |
- GpuPreference gpu_preference); |
+ const GLContextAttribs& attribs); |
// Creates a GL surface that renders directly to a view. |
GL_INIT_EXPORT scoped_refptr<GLSurface> CreateViewGLSurface( |