Index: ui/ozone/public/gl_ozone.h |
diff --git a/ui/ozone/public/gl_ozone.h b/ui/ozone/public/gl_ozone.h |
index b6452fd78e9cbbfccccc817797eab445b7c1311c..d8fe074562d1553ee17fc564966533a82a9df544 100644 |
--- a/ui/ozone/public/gl_ozone.h |
+++ b/ui/ozone/public/gl_ozone.h |
@@ -15,6 +15,7 @@ |
namespace gl { |
class GLContext; |
+struct GLContextAttribs; |
class GLShareGroup; |
class GLSurface; |
} |
@@ -52,7 +53,7 @@ class OZONE_BASE_EXPORT GLOzone { |
virtual scoped_refptr<gl::GLContext> CreateGLContext( |
gl::GLShareGroup* share_group, |
gl::GLSurface* compatible_surface, |
- gl::GpuPreference gpu_preference) = 0; |
+ const gl::GLContextAttribs& attribs) = 0; |
// Creates a GL surface that renders directly to a view. |
virtual scoped_refptr<gl::GLSurface> CreateViewGLSurface( |