Index: ui/views/examples/examples_main.cc |
diff --git a/ui/views/examples/examples_main.cc b/ui/views/examples/examples_main.cc |
index 78f1656ccc8427fd3ad756208006e516d642b3f2..807e92b4ff773f6998d69411182ff26f280c2301 100644 |
--- a/ui/views/examples/examples_main.cc |
+++ b/ui/views/examples/examples_main.cc |
@@ -55,8 +55,9 @@ int main(int argc, char** argv) { |
gfx::GLSurface::InitializeOneOff(); |
// The ContextFactory must exist before any Compositors are created. |
+ bool context_factory_for_test = false; |
scoped_ptr<ui::InProcessContextFactory> context_factory( |
- new ui::InProcessContextFactory()); |
+ new ui::InProcessContextFactory(context_factory_for_test)); |
context_factory->set_use_test_surface(false); |
base::MessageLoopForUI message_loop; |