| Index: components/mus/ws/modal_window_controller.cc
|
| diff --git a/components/mus/ws/modal_window_controller.cc b/components/mus/ws/modal_window_controller.cc
|
| index 89ec02e37207a52ab8aa194bfd78a035cb4fd6d1..b081a472571a948af9551b26cfa9dfc05f0a5476 100644
|
| --- a/components/mus/ws/modal_window_controller.cc
|
| +++ b/components/mus/ws/modal_window_controller.cc
|
| @@ -16,7 +16,7 @@ namespace {
|
| const ServerWindow* GetModalChildForWindowAncestor(const ServerWindow* window) {
|
| for (const ServerWindow* ancestor = window; ancestor;
|
| ancestor = ancestor->parent()) {
|
| - for (const auto& transient_child : ancestor->transient_children()) {
|
| + for (auto* transient_child : ancestor->transient_children()) {
|
| if (transient_child->is_modal() && transient_child->IsDrawn())
|
| return transient_child;
|
| }
|
|
|