Index: ash/shell/window_watcher_unittest.cc |
diff --git a/ash/shell/window_watcher_unittest.cc b/ash/shell/window_watcher_unittest.cc |
index 71a2f87dae90a2e1f57baa1cc727cb66e5a26be9..4d470ae2ad9d3049ccf9171b559db06da6683ba1 100644 |
--- a/ash/shell/window_watcher_unittest.cc |
+++ b/ash/shell/window_watcher_unittest.cc |
@@ -24,7 +24,7 @@ TEST_F(WindowWatcherTest, ShellDeleteInstance) { |
shell::ShellDelegateImpl* delegate = new ash::shell::ShellDelegateImpl; |
Shell::CreateInstance(delegate); |
- Shell::GetPrimaryRootWindow()->ShowRootWindow(); |
+ Shell::GetPrimaryRootWindow()->GetDispatcher()->ShowRootWindow(); |
Shell::GetInstance()->CreateLauncher(); |
Shell::GetInstance()->UpdateAfterLoginStatusChange( |
user::LOGGED_IN_USER); |