| Index: ui/gl/gl_surface.cc
|
| diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
|
| index f09aa35924daf21f1ab19a5eb57ba463eb8e011c..55bc1b86090353d931d211aaf26b0c530e183825 100644
|
| --- a/ui/gl/gl_surface.cc
|
| +++ b/ui/gl/gl_surface.cc
|
| @@ -69,6 +69,9 @@ bool GLSurface::InitializeOneOff() {
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableGPUServiceLogging))
|
| InitializeDebugGLBindings();
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableGLDrawingForTests))
|
| + InitializeNullDrawGLBindings();
|
| }
|
| return initialized;
|
| }
|
|
|