Index: ash/frame/custom_frame_view_ash_unittest.cc |
diff --git a/ash/frame/custom_frame_view_ash_unittest.cc b/ash/frame/custom_frame_view_ash_unittest.cc |
index 299b983415c4f1151ad08a7b13cbd775f7283a62..eb0a543d3f11af36c41e84f0a38e4329b3198473 100644 |
--- a/ash/frame/custom_frame_view_ash_unittest.cc |
+++ b/ash/frame/custom_frame_view_ash_unittest.cc |
@@ -113,19 +113,9 @@ TEST_F(CustomFrameViewAshTest, HeaderHeight) { |
gfx::ImageSkia* close_button = |
rb.GetImageSkiaNamed(IDR_AURA_WINDOW_CONTROL_BACKGROUND_H); |
- // |kSeparatorSize| should match |kHeaderContentSeparatorSize| in |
- // default_header_painter.cc |
- // TODO(pkotwicz): Clean this test up once the separator overlays the window |
- // controls. |
- const int kSeparatorSize = 1; |
- |
- // The header should have enough room for the window controls and the |
- // separator line. |
- EXPECT_EQ(close_button->height() + kSeparatorSize, |
- delegate->custom_frame_view()->GetHeaderView()->height()); |
- |
- widget->Maximize(); |
- EXPECT_EQ(close_button->height() + kSeparatorSize, |
+ // The header should have enough room for the window controls. The |
+ // header/content separator line overlays the window controls. |
+ EXPECT_EQ(close_button->height(), |
delegate->custom_frame_view()->GetHeaderView()->height()); |
} |