| Index: ui/gl/gl_surface.cc
|
| diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
|
| index ae324b1bf6f446cbe91de29541196c43632f74ea..5d35b33a8084ddf1fc89d8171d4cc1668d44df06 100644
|
| --- a/ui/gl/gl_surface.cc
|
| +++ b/ui/gl/gl_surface.cc
|
| @@ -95,7 +95,7 @@ bool GLSurface::InitializeOneOffImplementation(GLImplementation impl,
|
| }
|
|
|
| // static
|
| -void GLSurface::InitializeOneOffForTests(bool disable_drawing) {
|
| +void GLSurface::InitializeOneOffForTests() {
|
| DCHECK_EQ(kGLImplementationNone, GetGLImplementation());
|
|
|
| #if defined(USE_X11)
|
| @@ -127,9 +127,7 @@ void GLSurface::InitializeOneOffForTests(bool disable_drawing) {
|
|
|
| bool fallback_to_osmesa = false;
|
| bool gpu_service_logging = false;
|
| - bool disable_gl_drawing = disable_drawing;
|
| - // TODO(danakj): Unit tests do not produce pixel output by default.
|
| - // bool disable_gl_drawing = true;
|
| + bool disable_gl_drawing = true;
|
|
|
| CHECK(InitializeOneOffImplementation(
|
| impl, fallback_to_osmesa, gpu_service_logging, disable_gl_drawing));
|
|
|