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

Unified Diff: ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc

Issue 2726823003: Remove WmLookup. (Closed)
Patch Set: Clean up and rebase. 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: ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc b/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
index e4ac1a1233252c128d6871da8979d38ddf667f68..b8982131597565b77a19065ef3c0855578ee8ffc 100644
--- a/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
+++ b/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
@@ -8,7 +8,6 @@
#include <vector>
#include "ash/common/shelf/wm_shelf.h"
-#include "ash/common/wm_lookup.h"
#include "ash/common/wm_window.h"
#include "ash/public/cpp/shelf_types.h"
#include "ash/public/cpp/shell_window_ids.h"
@@ -236,8 +235,7 @@ TEST_F(AshPopupAlignmentDelegateTest, Extended) {
display::Display second_display = display_manager()->GetDisplayAt(1u);
WmShelf* second_shelf =
- WmLookup::Get()
- ->GetRootWindowControllerWithDisplayId(second_display.id())
+ Shell::GetRootWindowControllerWithDisplayId(second_display.id())
->GetShelf();
AshPopupAlignmentDelegate for_2nd_display(second_shelf);
UpdateWorkArea(&for_2nd_display, second_display);

Powered by Google App Engine
This is Rietveld 408576698