mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
Backed out part of the previous checkin to turn Tinderbox green again.
This commit is contained in:
parent
7a02e28f67
commit
3adb2cae02
@ -1128,7 +1128,7 @@ nsWindow* nsWindow::FindWidgetHit(Point aThePoint)
|
||||
if (children)
|
||||
{
|
||||
// traverse through all the nsWindows to find out who got hit, lowest level of course
|
||||
children->Last();
|
||||
children->First();
|
||||
do
|
||||
{
|
||||
nsISupports* child;
|
||||
@ -1144,7 +1144,7 @@ nsWindow* nsWindow::FindWidgetHit(Point aThePoint)
|
||||
NS_RELEASE(child);
|
||||
}
|
||||
}
|
||||
while (NS_SUCCEEDED(children->Prev()));
|
||||
while (NS_SUCCEEDED(children->Next()));
|
||||
NS_RELEASE(children);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user