Index: ash/wm/custom_frame_view_ash.cc |
diff --git a/ash/wm/custom_frame_view_ash.cc b/ash/wm/custom_frame_view_ash.cc |
index 48a4ff7d6514176648e0ae1091e4438af2fe525d..079d7e31036e4b14e3de8937b9d46371dac1113a 100644 |
--- a/ash/wm/custom_frame_view_ash.cc |
+++ b/ash/wm/custom_frame_view_ash.cc |
@@ -177,10 +177,7 @@ int CustomFrameViewAsh::NonClientTopBorderHeight() const { |
if (frame_->IsFullscreen()) |
return 0; |
- // Reserve enough space to see the buttons, including any offset from top and |
- // reserving space for the separator line. |
- return close_button_->bounds().bottom() + |
- frame_painter_->HeaderContentSeparatorSize(); |
+ return frame_painter_->HeaderHeight(); |
} |
} // namespace ash |