Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Unified Diff: chrome/browser/ui/ash/app_list/app_list_interactive_uitest.cc

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Fix WmShelf::ForWindow. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698