From b915e92079c19be9892b15a3382f54513f5315c5 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Sun, 17 Apr 2011 10:48:02 +0200 Subject: [PATCH] Bug 650235 - Assignment instead of comparison in nsOuterDocAccessible::GetChildAtPoint; r=surkov --- accessible/src/base/nsOuterDocAccessible.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessible/src/base/nsOuterDocAccessible.cpp b/accessible/src/base/nsOuterDocAccessible.cpp index 2c48b78ca2e..1a13dd9d900 100644 --- a/accessible/src/base/nsOuterDocAccessible.cpp +++ b/accessible/src/base/nsOuterDocAccessible.cpp @@ -89,7 +89,7 @@ nsOuterDocAccessible::GetChildAtPoint(PRInt32 aX, PRInt32 aY, nsAccessible* child = GetChildAt(0); NS_ENSURE_TRUE(child, nsnull); - if (aWhichChild = eDeepestChild) + if (aWhichChild == eDeepestChild) return child->GetChildAtPoint(aX, aY, eDeepestChild); return child; }