Index: ash/screen_ash.cc |
diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc |
index aabd5b67df73a1364bbac64071741e10ee59e5f9..6155d54b97716d768c493f3807a35d47cd4bde2d 100644 |
--- a/ash/screen_ash.cc |
+++ b/ash/screen_ash.cc |
@@ -40,7 +40,7 @@ gfx::Display ScreenAsh::FindDisplayContainingPoint(const gfx::Point& point) { |
// static |
gfx::Rect ScreenAsh::GetMaximizedWindowBoundsInParent(aura::Window* window) { |
- if (GetRootWindowController(window->GetRootWindow())->shelf()->launcher()) |
+ if (GetRootWindowController(window->GetRootWindow())->shelf()) |
return GetDisplayWorkAreaBoundsInParent(window); |
else |
return GetDisplayBoundsInParent(window); |