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

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

Issue 2726823003: Remove WmLookup. (Closed)
Patch Set: Clean up include and modify comment. Created 3 years, 10 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/launcher_context_menu_unittest.cc
diff --git a/chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc b/chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc
index f0e5586b61c75e1239160f57493cf34d08c10e24..7868df6776bed4644a989ded1894ed2a4f84a99e 100644
--- a/chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc
+++ b/chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc
@@ -7,7 +7,6 @@
#include <memory>
#include "ash/common/shelf/shelf_item_types.h"
-#include "ash/common/wm_lookup.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
#include "ash/root_window_controller.h"
@@ -59,7 +58,7 @@ class LauncherContextMenuTest : public ash::test::AshTestBase {
ash::WmShelf* GetWmShelf(int64_t display_id) {
ash::RootWindowController* root_window_controller =
- ash::WmLookup::Get()->GetRootWindowControllerWithDisplayId(display_id);
+ ash::Shell::GetRootWindowControllerWithDisplayId(display_id);
EXPECT_NE(nullptr, root_window_controller);
return root_window_controller->GetShelf();
}

Powered by Google App Engine
This is Rietveld 408576698