Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index f7a02f042834247f9e125dc263db6d221029423b..e8ef8dd505038f3295bf9779c5999b00acb08ad0 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -75,7 +75,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
// Unit tests should call these instead of InitializeOneOff() to set up |
// GL bindings appropriate for tests. |
- static void InitializeOneOffForTests(); |
+ // TODO(danakj): Once all callers pass true, remove the argument. |
+ static void InitializeOneOffForTests(bool disable_drawing = false); |
static void InitializeOneOffWithMockBindingsForTests(); |
static void InitializeDynamicMockBindingsForTests(GLContext* context); |