Index: ash/shelf/shelf_layout_manager.cc |
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc |
index 5eded79e0b05f2cbdc3e1c9bd0db09dd27d73b20..08aa8b9d56778a366b1b32fde165c498d9dd48e3 100644 |
--- a/ash/shelf/shelf_layout_manager.cc |
+++ b/ash/shelf/shelf_layout_manager.cc |
@@ -858,6 +858,9 @@ void ShelfLayoutManager::CalculateTargetBounds( |
gfx::Rect(0, 0, |
shelf_width - status_size.width(), |
target_bounds->shelf_bounds_in_root.height())); |
+ |
+ non_shelf_bounds_ = available_bounds; |
+ non_shelf_bounds_.Subtract(target_bounds->shelf_bounds_in_root); |
} |
void ShelfLayoutManager::UpdateTargetBoundsForGesture( |