Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index f7a02f042834247f9e125dc263db6d221029423b..ffdc3ce230b6c5c508b4cdfbc03c8817182f0b18 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -75,7 +75,7 @@ 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(); |
+ static void InitializeOneOffForTests(bool disable_drawing = false); |
no sievers
2014/02/21 19:51:49
I thought the default param was against the style
danakj
2014/02/21 19:56:58
Ya kinda. But it's just for a bit, in test suites
Ken Russell (switch to Gerrit)
2014/02/21 20:03:37
It's fine as a temporary workaround, but please ad
danakj
2014/02/21 20:20:54
Thanks, good plan. Done!
|
static void InitializeOneOffWithMockBindingsForTests(); |
static void InitializeDynamicMockBindingsForTests(GLContext* context); |