Index: chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc |
diff --git a/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc b/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc |
index 1756b3b3c08de679e2fdd8fcc9c4ecddc5d34be8..0a7b106686dfa2924eb5c6a2f2be39da643e9f8a 100644 |
--- a/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc |
+++ b/chrome/browser/ui/window_sizer/window_sizer_ash_uitest.cc |
@@ -54,8 +54,7 @@ void CloseBrowser(Browser* browser) { |
gfx::Rect GetChromeIconBoundsForRootWindow(aura::Window* root_window) { |
const ash::ShelfView* shelf_view = |
- ash::WmShelf::ForWindow(ash::WmWindow::Get(root_window)) |
- ->GetShelfViewForTesting(); |
+ ash::WmShelf::ForWindow(root_window)->GetShelfViewForTesting(); |
const views::ViewModel* view_model = shelf_view->view_model_for_test(); |
EXPECT_EQ(2, view_model->view_size()); |