Index: ui/aura/demo/demo_main.cc |
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc |
index f0f8bff496f248a8bea0a5a0e3e56fb8f528f9d7..35d2efd83ed503c364bbfbc99680243c978e9474 100644 |
--- a/ui/aura/demo/demo_main.cc |
+++ b/ui/aura/demo/demo_main.cc |
@@ -123,7 +123,6 @@ int DemoMain() { |
// The ContextFactory must exist before any Compositors are created. |
scoped_ptr<ui::InProcessContextFactory> context_factory( |
new ui::InProcessContextFactory()); |
- ui::ContextFactory::SetInstance(context_factory.get()); |
// Create the message-loop here before creating the root window. |
base::MessageLoopForUI message_loop; |