summaryrefslogtreecommitdiffstats
path: root/ui/aura_shell/shelf_layout_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura_shell/shelf_layout_manager.cc')
-rw-r--r--ui/aura_shell/shelf_layout_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura_shell/shelf_layout_manager.cc b/ui/aura_shell/shelf_layout_manager.cc
index c422aa7..d9f58e2 100644
--- a/ui/aura_shell/shelf_layout_manager.cc
+++ b/ui/aura_shell/shelf_layout_manager.cc
@@ -122,7 +122,7 @@ void ShelfLayoutManager::CalculateTargetBounds(bool visible,
gfx::Rect launcher_bounds(launcher_->GetWindowScreenBounds());
target_bounds->launcher_bounds = gfx::Rect(
available_bounds.x(), y + (max_height_ - launcher_bounds.height()) / 2,
- available_bounds.width() - status_bounds.width(),
+ available_bounds.width(),
launcher_bounds.height());
if (visible)
target_bounds->work_area_insets = gfx::Insets(0, 0, max_height_, 0);