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

Unified Diff: ash/wm/system_modal_container_layout_manager_unittest.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
« no previous file with comments | « ash/wm/overview/window_selector.cc ('k') | ash/wm/window_animations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/system_modal_container_layout_manager_unittest.cc
diff --git a/ash/wm/system_modal_container_layout_manager_unittest.cc b/ash/wm/system_modal_container_layout_manager_unittest.cc
index a3c10da8320fc864cf45cd34f26ff8625d21f0cf..e87a676dc1b9dd8e98b2a14b59e5b2fa221478f8 100644
--- a/ash/wm/system_modal_container_layout_manager_unittest.cc
+++ b/ash/wm/system_modal_container_layout_manager_unittest.cc
@@ -801,9 +801,8 @@ TEST_F(SystemModalContainerLayoutManagerTest, VisibilityChange) {
CurrentContext())
->GetNativeWindow());
SystemModalContainerLayoutManager* layout_manager =
- ShellPort::Get()
- ->GetPrimaryRootWindowController()
- ->GetSystemModalLayoutManager(modal_window.get());
+ Shell::GetPrimaryRootWindowController()->GetSystemModalLayoutManager(
+ modal_window.get());
EXPECT_FALSE(ShellPort::Get()->IsSystemModalWindowOpen());
EXPECT_FALSE(layout_manager->has_window_dimmer());
« no previous file with comments | « ash/wm/overview/window_selector.cc ('k') | ash/wm/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698