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

Unified Diff: ash/wm/panels/panel_layout_manager_unittest.cc

Issue 2288993002: ash: Move AppList support to ShelfWidget, expose ShelfWidget in WmShelf (Closed)
Patch Set: missed one unit test Created 4 years, 4 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/panels/panel_layout_manager_unittest.cc
diff --git a/ash/wm/panels/panel_layout_manager_unittest.cc b/ash/wm/panels/panel_layout_manager_unittest.cc
index f7626e4b6d9a58892c9e33d445f4b9fccb0e21ad..8ecf549b50af7d01526bdfbd83324106c0437a75 100644
--- a/ash/wm/panels/panel_layout_manager_unittest.cc
+++ b/ash/wm/panels/panel_layout_manager_unittest.cc
@@ -159,8 +159,7 @@ class PanelLayoutManagerTest : public test::AshTestBase {
gfx::Rect window_bounds = panel->GetBoundsInScreen();
ASSERT_LT(icon_bounds.width(), window_bounds.width());
ASSERT_LT(icon_bounds.height(), window_bounds.height());
- gfx::Rect shelf_bounds =
- shelf->GetShelfWidgetForTesting()->GetWindowBoundsInScreen();
+ gfx::Rect shelf_bounds = shelf->shelf_widget()->GetWindowBoundsInScreen();
const ShelfAlignment alignment = shelf->alignment();
if (IsHorizontal(alignment)) {

Powered by Google App Engine
This is Rietveld 408576698