Index: ash/wm/header_painter.cc |
diff --git a/ash/wm/header_painter.cc b/ash/wm/header_painter.cc |
index f6fdfafb45429a993fc130f0b2bef32bfbfc1662..c6db0209e8099d1a83add2f35148b2700c2dc852 100644 |
--- a/ash/wm/header_painter.cc |
+++ b/ash/wm/header_painter.cc |
@@ -185,8 +185,6 @@ gfx::Rect HeaderPainter::GetWindowBoundsForClientBounds( |
const gfx::Rect& client_bounds) { |
gfx::Rect window_bounds(client_bounds); |
window_bounds.Inset(0, -header_height, 0, 0); |
- if (window_bounds.y() < 0) |
- window_bounds.set_y(0); |
return window_bounds; |
} |