| Index: ash/frame/caption_buttons/frame_caption_button_container_view.cc
|
| diff --git a/ash/frame/caption_buttons/frame_caption_button_container_view.cc b/ash/frame/caption_buttons/frame_caption_button_container_view.cc
|
| index 4a93d0d3b29291aaf608a2b68b1e0ad2e79a8711..6dc00287bcba2f2f1fc4c6b31e58922e58bb8df1 100644
|
| --- a/ash/frame/caption_buttons/frame_caption_button_container_view.cc
|
| +++ b/ash/frame/caption_buttons/frame_caption_button_container_view.cc
|
| @@ -308,7 +308,7 @@ void FrameCaptionButtonContainerView::SetButtonIcon(FrameCaptionButton* button,
|
| }
|
|
|
| bool FrameCaptionButtonContainerView::ShouldSizeButtonBeVisible() const {
|
| - return !Shell::GetInstance()
|
| + return !WmShell::Get()
|
| ->maximize_mode_controller()
|
| ->IsMaximizeModeWindowManagerEnabled() &&
|
| frame_->widget_delegate()->CanMaximize();
|
|
|