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

Unified Diff: ash/wm/dock/docked_window_resizer_unittest.cc

Issue 1918883002: Makes Panel related classes use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@phantom_window_controller
Patch Set: fix windows Created 4 years, 8 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/wm/dock/docked_window_resizer_unittest.cc
diff --git a/ash/wm/dock/docked_window_resizer_unittest.cc b/ash/wm/dock/docked_window_resizer_unittest.cc
index f3f1761b90492a4f3fa5474cc7bb5ccf47120bd6..c24f2e48cd9f7517c53126c2b3138d7da1579681 100644
--- a/ash/wm/dock/docked_window_resizer_unittest.cc
+++ b/ash/wm/dock/docked_window_resizer_unittest.cc
@@ -83,9 +83,8 @@ class DockedWindowResizerTest
test::TestShelfDelegate* shelf_delegate =
test::TestShelfDelegate::instance();
shelf_delegate->AddShelfItem(window);
- PanelLayoutManager* manager = static_cast<PanelLayoutManager*>(
- Shell::GetContainer(window->GetRootWindow(),
- kShellWindowId_PanelContainer)->layout_manager());
+ PanelLayoutManager* manager =
+ PanelLayoutManager::Get(wm::WmWindowAura::Get(window));
manager->Relayout();
}
return window;

Powered by Google App Engine
This is Rietveld 408576698