| Index: ash/frame/custom_frame_view_ash.cc
|
| diff --git a/ash/frame/custom_frame_view_ash.cc b/ash/frame/custom_frame_view_ash.cc
|
| index 450015a32a3256d21b24c3845886d9bdcd4755b3..f4422fc796e412210b6de7c1f931a5c06d13b326 100644
|
| --- a/ash/frame/custom_frame_view_ash.cc
|
| +++ b/ash/frame/custom_frame_view_ash.cc
|
| @@ -202,10 +202,8 @@ CustomFrameViewAsh::HeaderView::HeaderView(views::Widget* frame)
|
| avatar_icon_(NULL),
|
| caption_button_container_(NULL),
|
| fullscreen_visible_fraction_(0) {
|
| - // Unfortunately, there is no views::WidgetDelegate::CanMinimize(). Assume
|
| - // that the window frame can be minimized if it can be maximized.
|
| FrameCaptionButtonContainerView::MinimizeAllowed minimize_allowed =
|
| - frame_->widget_delegate()->CanMaximize() ?
|
| + frame_->widget_delegate()->CanMinimize() ?
|
| FrameCaptionButtonContainerView::MINIMIZE_ALLOWED :
|
| FrameCaptionButtonContainerView::MINIMIZE_DISALLOWED;
|
| caption_button_container_ = new FrameCaptionButtonContainerView(frame_,
|
|
|