| Index: ash/wm/frame_painter_unittest.cc
|
| diff --git a/ash/wm/frame_painter_unittest.cc b/ash/wm/frame_painter_unittest.cc
|
| index 700166475065623582b3b1acf98a250bc73c7c1e..9520075cd7df9325cc0c069b640fc8f30037b33b 100644
|
| --- a/ash/wm/frame_painter_unittest.cc
|
| +++ b/ash/wm/frame_painter_unittest.cc
|
| @@ -119,7 +119,6 @@ FramePainter* CreateTestPainter(Widget* widget) {
|
| NonClientFrameView* frame_view = widget->non_client_view()->frame_view();
|
| ash::FrameCaptionButtonContainerView* container =
|
| new ash::FrameCaptionButtonContainerView(
|
| - frame_view,
|
| widget,
|
| ash::FrameCaptionButtonContainerView::MINIMIZE_ALLOWED);
|
| // Add the container to the widget's non-client frame view so that it will be
|
| @@ -576,7 +575,7 @@ TEST_F(FramePainterTest, MinimalHeaderStyle) {
|
| TEST_F(FramePainterTest, TitleIconAlignment) {
|
| scoped_ptr<Widget> w(CreateTestWidget());
|
| FramePainter p;
|
| - ash::FrameCaptionButtonContainerView container(NULL, w.get(),
|
| + ash::FrameCaptionButtonContainerView container(w.get(),
|
| ash::FrameCaptionButtonContainerView::MINIMIZE_ALLOWED);
|
| views::View window_icon;
|
| window_icon.SetBounds(0, 0, 16, 16);
|
|
|