Index: ui/aura/demo/demo_main.cc |
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc |
index 78b39a406adf9f7072f13026f8ffbbc403fc6997..38f90f811d948705a4c575aec4d40b33b2e83c62 100644 |
--- a/ui/aura/demo/demo_main.cc |
+++ b/ui/aura/demo/demo_main.cc |
@@ -118,8 +118,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. |