| Index: ui/gl/gl_context_osmesa.cc
|
| diff --git a/ui/gl/gl_context_osmesa.cc b/ui/gl/gl_context_osmesa.cc
|
| index 1f998d8789756dcb0fc2aa423c23f4d7ce0c4751..ff05eedb152d527606e93b53f178594d0462d7bd 100644
|
| --- a/ui/gl/gl_context_osmesa.cc
|
| +++ b/ui/gl/gl_context_osmesa.cc
|
| @@ -20,12 +20,7 @@
|
| }
|
|
|
| bool GLContextOSMesa::Initialize(GLSurface* compatible_surface,
|
| - const GLContextAttribs& attribs) {
|
| - // webgl_compatibility_context and disabling bind_generates_resource are not
|
| - // supported.
|
| - DCHECK(!attribs.webgl_compatibility_context &&
|
| - attribs.bind_generates_resource);
|
| -
|
| + GpuPreference gpu_preference) {
|
| DCHECK(!context_);
|
|
|
| OSMesaContext share_handle = static_cast<OSMesaContext>(
|
|
|