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

Unified Diff: ui/aura/window.cc

Issue 9159048: Fix compile with Aura/Mac ash_shell and workspace controller (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes reverse iterators for compatibility with 10.5 SDK Created 8 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/aura/root_window.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index ccea8a00b6e6375d0d6b905353788fd22159f835..1afb2a5ed7b8d777c8510b28f03e7c45c17baa02 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -606,8 +606,9 @@ Window* Window::GetWindowForPoint(const gfx::Point& local_point,
if (!return_tightest && delegate_)
return this;
- for (Windows::const_reverse_iterator it = children_.rbegin();
- it != children_.rend(); ++it) {
+ for (Windows::const_reverse_iterator it = children_.rbegin(),
+ rend = children_.rend();
+ it != rend; ++it) {
Window* child = *it;
if (!child->IsVisible() || (for_event_handling && child->ignore_events_))
continue;
« no previous file with comments | « ui/aura/root_window.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698