Index: ash/root_window_controller_unittest.cc |
diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc |
index dd80b41ffc7450692ebde54f22e52c2524565def..0c321df8e234b0fa1189100258c442f59680988b 100644 |
--- a/ash/root_window_controller_unittest.cc |
+++ b/ash/root_window_controller_unittest.cc |
@@ -376,8 +376,7 @@ TEST_F(RootWindowControllerTest, ModalContainerNotLoggedInLoggedIn) { |
TEST_F(RootWindowControllerTest, ModalContainerBlockedSession) { |
UpdateDisplay("600x600"); |
- Shell* shell = Shell::GetInstance(); |
- RootWindowController* controller = shell->GetPrimaryRootWindowController(); |
+ RootWindowController* controller = Shell::GetPrimaryRootWindowController(); |
aura::Window* lock_container = |
controller->GetContainer(kShellWindowId_LockScreenContainer); |
for (int block_reason = FIRST_BLOCK_REASON; |