Bug 650235 - Assignment instead of comparison in nsOuterDocAccessible::GetChildAtPoint; r=surkov

This commit is contained in:
Ms2ger 2011-04-17 10:48:02 +02:00
parent c1e4d5e196
commit b915e92079

View File

@ -89,7 +89,7 @@ nsOuterDocAccessible::GetChildAtPoint(PRInt32 aX, PRInt32 aY,
nsAccessible* child = GetChildAt(0); nsAccessible* child = GetChildAt(0);
NS_ENSURE_TRUE(child, nsnull); NS_ENSURE_TRUE(child, nsnull);
if (aWhichChild = eDeepestChild) if (aWhichChild == eDeepestChild)
return child->GetChildAtPoint(aX, aY, eDeepestChild); return child->GetChildAtPoint(aX, aY, eDeepestChild);
return child; return child;
} }