Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(892)

Unified Diff: ui/views/corewm/transient_window_stacking_client.cc

Issue 139623002: Tweaks to get views compiling with mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mismatch Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/native_theme/native_theme_android.cc ('k') | ui/views/layout/grid_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ui/native_theme/native_theme_android.cc ('k') | ui/views/layout/grid_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698