Index: ui/gl/gl_surface_ozone.cc |
diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc |
index 4ce8fde1bd410e2bf712c189187cf0add7563647..5cf70c7eec27e78c2afee459306add12044110d4 100644 |
--- a/ui/gl/gl_surface_ozone.cc |
+++ b/ui/gl/gl_surface_ozone.cc |
@@ -29,10 +29,14 @@ bool GLSurface::InitializeOneOffInternal() { |
LOG(ERROR) << "GLSurfaceEGL::InitializeOneOff failed."; |
return false; |
} |
+ |
+ return true; |
+ case kGLImplementationOSMesaGL: |
+ case kGLImplementationMockGL: |
+ return true; |
default: |
- break; |
+ return false; |
} |
- return true; |
} |
// static |