From 7e685ffd5175ffc65f9fd5180e02fddcfcfdfed6 Mon Sep 17 00:00:00 2001 From: "marco.zehe%googlemail.com" Date: Fri, 2 May 2008 08:50:35 +0000 Subject: [PATCH] bug 431656 - SELECTED and SELECTABLE states not exposed for html multiselectable lists patch by Alexander Surkov (surkov.alexander@gmail.com) r=me a1.9=dsicore git-svn-id: svn://10.0.0.236/trunk@251090 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/accessible/src/html/nsHTMLSelectAccessible.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/accessible/src/html/nsHTMLSelectAccessible.cpp b/mozilla/accessible/src/html/nsHTMLSelectAccessible.cpp index ef51210a13c..a34a26ad385 100644 --- a/mozilla/accessible/src/html/nsHTMLSelectAccessible.cpp +++ b/mozilla/accessible/src/html/nsHTMLSelectAccessible.cpp @@ -621,7 +621,7 @@ nsHTMLSelectOptionAccessible::GetState(PRUint32 *aState, PRUint32 *aExtraState) // Upcall to nsAccessible, but skip nsHyperTextAccessible impl // because we don't want EXT_STATE_EDITABLE or EXT_STATE_SELECTABLE_TEXT nsresult rv = nsAccessible::GetState(aState, aExtraState); - NS_ENSURE_TRUE(rv, rv); + NS_ENSURE_SUCCESS(rv, rv); if (!mDOMNode) return NS_OK;