summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.cc
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 19:51:17 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-31 19:51:17 +0000
commit5e664039f8213eeadd8d3fedae5fba082c1c4745 (patch)
treed9b82093d88869e8e91943114726764429dee3b6 /ui/aura/window.cc
parent0ef09d11bbf1670adf30c9934b83e12d482eab56 (diff)
downloadchromium_src-5e664039f8213eeadd8d3fedae5fba082c1c4745.zip
chromium_src-5e664039f8213eeadd8d3fedae5fba082c1c4745.tar.gz
chromium_src-5e664039f8213eeadd8d3fedae5fba082c1c4745.tar.bz2
Fix compile with Aura/Mac ash_shell and workspace controller
Fixes link issues on Mac/AuraShell.app with WorkspaceController. implemented. BUG=None TEST=Compile on Mac/Aura. R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9159048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119941 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.cc')
-rw-r--r--ui/aura/window.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index 2a1ef3e..94a6532 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -607,8 +607,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;