| 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 ab3656eb904ad16ea526be3501b466ec64542746..dece89b8864371d36f690d105881d4f652da7abf 100644
|
| --- a/ash/frame/custom_frame_view_ash_unittest.cc
|
| +++ b/ash/frame/custom_frame_view_ash_unittest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "ash/frame/custom_frame_view_ash.h"
|
|
|
| +#include "ash/ash_layout_constants.h"
|
| #include "ash/frame/caption_buttons/frame_caption_button.h"
|
| #include "ash/frame/caption_buttons/frame_caption_button_container_view.h"
|
| #include "ash/shell.h"
|
| @@ -128,13 +129,9 @@ TEST_F(CustomFrameViewAshTest, HeaderHeight) {
|
| scoped_ptr<views::Widget> widget(CreateWidget(delegate));
|
| widget->Show();
|
|
|
| - ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
|
| - gfx::ImageSkia* close_button =
|
| - rb.GetImageSkiaNamed(IDR_AURA_WINDOW_CONTROL_BACKGROUND_H);
|
| -
|
| // The header should have enough room for the window controls. The
|
| // header/content separator line overlays the window controls.
|
| - EXPECT_EQ(close_button->height(),
|
| + EXPECT_EQ(GetAshLayoutSize(DEFAULT_HEADER_BUTTON).height(),
|
| delegate->custom_frame_view()->GetHeaderView()->height());
|
| }
|
|
|
|
|