| Index: ash/mus/non_client_frame_controller.cc
|
| diff --git a/ash/mus/non_client_frame_controller.cc b/ash/mus/non_client_frame_controller.cc
|
| index 382f0d9aeb677ee50834b1ae129c03c8b57bcd41..63c84bdaa47165cd2d929b04840ba7066efee1db 100644
|
| --- a/ash/mus/non_client_frame_controller.cc
|
| +++ b/ash/mus/non_client_frame_controller.cc
|
| @@ -398,21 +398,18 @@ base::string16 NonClientFrameController::GetWindowTitle() const {
|
| }
|
|
|
| bool NonClientFrameController::CanResize() const {
|
| - return window_ &&
|
| - (GetResizeBehavior(window_) & ui::mojom::kResizeBehaviorCanResize) !=
|
| - 0;
|
| + return window_ && (::ash::mus::GetResizeBehavior(window_) &
|
| + ui::mojom::kResizeBehaviorCanResize);
|
| }
|
|
|
| bool NonClientFrameController::CanMaximize() const {
|
| - return window_ &&
|
| - (GetResizeBehavior(window_) & ui::mojom::kResizeBehaviorCanMaximize) !=
|
| - 0;
|
| + return window_ && (::ash::mus::GetResizeBehavior(window_) &
|
| + ui::mojom::kResizeBehaviorCanMaximize);
|
| }
|
|
|
| bool NonClientFrameController::CanMinimize() const {
|
| - return window_ &&
|
| - (GetResizeBehavior(window_) & ui::mojom::kResizeBehaviorCanMinimize) !=
|
| - 0;
|
| + return window_ && (::ash::mus::GetResizeBehavior(window_) &
|
| + ui::mojom::kResizeBehaviorCanMinimize);
|
| }
|
|
|
| bool NonClientFrameController::ShouldShowWindowTitle() const {
|
|
|