Index: chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc |
diff --git a/chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc b/chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc |
index 96319663a619ef38e40ca81570f0cfd320661563..15b039b0a63c516d6fa017ad0eb1f4eca1362524 100644 |
--- a/chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc |
+++ b/chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc |
@@ -21,8 +21,7 @@ using AppListTest = InProcessBrowserTest; |
// An integration test to toggle the app list by pressing the shelf button. |
IN_PROC_BROWSER_TEST_F(AppListTest, PressAppListButtonToShowAndDismiss) { |
- ash::WmShelf* shelf = |
- ash::WmShelf::ForWindow(ash::WmWindow::Get(ash::wm::GetActiveWindow())); |
+ ash::WmShelf* shelf = ash::WmShelf::ForWindow(ash::wm::GetActiveWindow()); |
ash::ShelfWidget* shelf_widget = shelf->shelf_widget(); |
ash::AppListButton* app_list_button = shelf_widget->GetAppListButton(); |