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..286ab4f65b14547a9de6954da3c8c1162ab84052 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_in_root_ = available_bounds; |
+ non_shelf_bounds_in_root_.Subtract(target_bounds->shelf_bounds_in_root); |
} |
void ShelfLayoutManager::UpdateTargetBoundsForGesture( |