Index: ui/aura/demo/demo_main.cc |
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc |
index fe6ea80003c1276a136dcf6fc75fa51455d4d435..7fda8c3b56c88539d55ecaafe47eb1db11ec282e 100644 |
--- a/ui/aura/demo/demo_main.cc |
+++ b/ui/aura/demo/demo_main.cc |
@@ -117,8 +117,9 @@ int DemoMain() { |
#endif |
// 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); |
// Create the message-loop here before creating the root window. |