Chromium Code Reviews| Index: ui/gfx/gl/gl_context_osmesa.cc |
| =================================================================== |
| --- ui/gfx/gl/gl_context_osmesa.cc (revision 105357) |
| +++ ui/gfx/gl/gl_context_osmesa.cc (working copy) |
| @@ -21,7 +21,8 @@ |
| Destroy(); |
| } |
| -bool GLContextOSMesa::Initialize(GLSurface* compatible_surface) { |
| +bool GLContextOSMesa::Initialize( |
| + GLSurface* compatible_surface, GpuPreference gpu_preference) { |
| DCHECK(!context_); |
| OSMesaContext share_handle = static_cast<OSMesaContext>( |