| Index: components/mus/ws/focus_controller.cc
|
| diff --git a/components/mus/ws/focus_controller.cc b/components/mus/ws/focus_controller.cc
|
| index 6b01883fcd1442706d524ad9b1697504265e8555..1415c193909a7a56fd18e4b6ede0637a1ae8d6c0 100644
|
| --- a/components/mus/ws/focus_controller.cc
|
| +++ b/components/mus/ws/focus_controller.cc
|
| @@ -184,7 +184,7 @@ bool FocusController::CanBeActivated(ServerWindow* window) const {
|
| if (props.count(mojom::WindowManager::kShowState_Property)) {
|
| is_minimized =
|
| props.find(mojom::WindowManager::kShowState_Property)->second[0] ==
|
| - mus::mojom::SHOW_STATE_MINIMIZED;
|
| + static_cast<int>(mus::mojom::ShowState::MINIMIZED);
|
| }
|
| if (!is_minimized)
|
| return false;
|
|
|