Chromium Code Reviews| Index: ui/gfx/gl/gl_context_osmesa.cc |
| diff --git a/ui/gfx/gl/gl_context_osmesa.cc b/ui/gfx/gl/gl_context_osmesa.cc |
| index 2b4583605ff7f819615205cff8d67471d9a4ed9c..a4396d483c176c3bdcadda812526ae3de21bb9ae 100644 |
| --- a/ui/gfx/gl/gl_context_osmesa.cc |
| +++ b/ui/gfx/gl/gl_context_osmesa.cc |
| @@ -67,6 +67,7 @@ bool GLContextOSMesa::MakeCurrent(GLSurface* surface) { |
| // Row 0 is at the top. |
| OSMesaPixelStore(OSMESA_Y_UP, 0); |
| + surface->OnMakeCurrent(); |
| return true; |
| } |