| Index: ui/views/corewm/transient_window_stacking_client.cc
|
| diff --git a/ui/views/corewm/transient_window_stacking_client.cc b/ui/views/corewm/transient_window_stacking_client.cc
|
| index ef08cc0ed7bf01402b14a5145a2b1ea5a1be27da..303c502b752f1306baff54154268c4eac2d3f452 100644
|
| --- a/ui/views/corewm/transient_window_stacking_client.cc
|
| +++ b/ui/views/corewm/transient_window_stacking_client.cc
|
| @@ -43,8 +43,8 @@ void FindCommonTransientAncestor(Window** window1, Window** window2) {
|
| return;
|
| }
|
| // Walk the two chains backwards and look for the first difference.
|
| - Window::Windows::const_reverse_iterator it1 = ancestors1.rbegin();
|
| - Window::Windows::const_reverse_iterator it2 = ancestors2.rbegin();
|
| + Window::Windows::reverse_iterator it1 = ancestors1.rbegin();
|
| + Window::Windows::reverse_iterator it2 = ancestors2.rbegin();
|
| for (; it1 != ancestors1.rend() && it2 != ancestors2.rend(); ++it1, ++it2) {
|
| if (*it1 != *it2) {
|
| *window1 = *it1;
|
|
|