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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc

Issue 2046843005: mash: Migrate shelf menus to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ash_shell_with_content Created 4 years, 6 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/launcher/chrome_launcher_controller_browsertest.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc
index eea601783e280c5afbfa3f47683e5a11c11e3aa0..f8a3570c4e758c5cdebb49b76508ef6f14a6d07c 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc
@@ -372,8 +372,8 @@ class ShelfAppBrowserTest : public ExtensionBrowserTest {
item.id = 1; // dummy id
item.type = shelf_item_type;
ash::Shelf* shelf = ash::Shelf::ForWindow(CurrentContext());
- std::unique_ptr<LauncherContextMenu> menu(
- LauncherContextMenu::Create(controller_, &item, shelf));
+ std::unique_ptr<LauncherContextMenu> menu(LauncherContextMenu::Create(
+ controller_, &item, ash::test::ShelfTestAPI(shelf).wm_shelf()));
return menu;
}

Powered by Google App Engine
This is Rietveld 408576698