| Index: ash/wm/frame_painter_unittest.cc
|
| diff --git a/ash/wm/frame_painter_unittest.cc b/ash/wm/frame_painter_unittest.cc
|
| index 14fc889ac36232ef656952ed415a13fc7758f396..7353bc48ba05c623ce1d4a48c5bebe3b974cd86c 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);
|
|
|