diff options
Diffstat (limited to 'views/window/custom_frame_view.cc')
-rw-r--r-- | views/window/custom_frame_view.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/views/window/custom_frame_view.cc b/views/window/custom_frame_view.cc index 66e2ccd..19ce2fb 100644 --- a/views/window/custom_frame_view.cc +++ b/views/window/custom_frame_view.cc @@ -74,11 +74,12 @@ const int kCaptionTopSpacing = 1; CustomFrameView::CustomFrameView(Window* frame) : NonClientFrameView(), - close_button_(new ImageButton(this)), - restore_button_(new ImageButton(this)), - maximize_button_(new ImageButton(this)), - minimize_button_(new ImageButton(this)), - system_menu_button_(new ImageButton(this)), + ALLOW_THIS_IN_INITIALIZER_LIST(close_button_(new ImageButton(this))), + ALLOW_THIS_IN_INITIALIZER_LIST(restore_button_(new ImageButton(this))), + ALLOW_THIS_IN_INITIALIZER_LIST(maximize_button_(new ImageButton(this))), + ALLOW_THIS_IN_INITIALIZER_LIST(minimize_button_(new ImageButton(this))), + ALLOW_THIS_IN_INITIALIZER_LIST( + system_menu_button_(new ImageButton(this))), should_show_minmax_buttons_(false), frame_(frame) { InitClass(); |