Index: ash/wm/always_on_top_controller_unittest.cc |
diff --git a/ash/wm/always_on_top_controller_unittest.cc b/ash/wm/always_on_top_controller_unittest.cc |
index 58cdcaa21653e49015fdc97d625e25207785b255..fb6e2e6d0aac99b3ee31acd62561a84fdce79a46 100644 |
--- a/ash/wm/always_on_top_controller_unittest.cc |
+++ b/ash/wm/always_on_top_controller_unittest.cc |
@@ -6,7 +6,6 @@ |
#include "ash/aura/wm_window_aura.h" |
#include "ash/common/wm/workspace/workspace_layout_manager.h" |
-#include "ash/common/wm_root_window_controller.h" |
#include "ash/public/cpp/shell_window_ids.h" |
#include "ash/root_window_controller.h" |
#include "ash/shell.h" |
@@ -68,7 +67,7 @@ TEST_F(VirtualKeyboardAlwaysOnTopControllerTest, NotifyKeyboardBoundsChanged) { |
new TestLayoutManager(WmWindowAura::Get(always_on_top_container)); |
RootWindowController* controller = Shell::GetPrimaryRootWindowController(); |
AlwaysOnTopController* always_on_top_controller = |
- controller->wm_root_window_controller()->always_on_top_controller(); |
+ controller->always_on_top_controller(); |
always_on_top_controller->SetLayoutManagerForTest(base::WrapUnique(manager)); |
// Activate keyboard. This triggers keyboard listeners to be registered. |
controller->ActivateKeyboard(keyboard_controller); |