Index: ui/aura/demo/demo_main.cc |
diff --git a/ui/aura/demo/demo_main.cc b/ui/aura/demo/demo_main.cc |
index f485a8ce954ee4dbe2058c0702c9968cbb0e5b93..4a2467f47086990c12fe7123aed8a41d352bb64a 100644 |
--- a/ui/aura/demo/demo_main.cc |
+++ b/ui/aura/demo/demo_main.cc |
@@ -150,7 +150,7 @@ int DemoMain() { |
aura::Env::GetInstance()->set_context_factory(context_factory.get()); |
scoped_ptr<aura::TestScreen> test_screen( |
aura::TestScreen::Create(gfx::Size())); |
- gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, test_screen.get()); |
+ gfx::Screen::SetScreenInstance(test_screen.get()); |
scoped_ptr<aura::WindowTreeHost> host( |
test_screen->CreateHostForPrimaryDisplay()); |
scoped_ptr<DemoWindowTreeClient> window_tree_client( |