Fix bug 396930 - fix bustage
authorsurkov.alexander@gmail.com
Fri, 14 Dec 2007 21:02:30 -0800
changeset 9115 346ce118b48ab5770d6562e1984ce122baaeb4be
parent 9114 7e9b763d62615444d96c4130a1ec405a889f5aa6
child 9116 270e31bdb83420ec132495f36bc4fce57ef4d046
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherderautoland@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs396930
milestone1.9b3pre
Fix bug 396930 - fix bustage
accessible/src/xul/nsXULTreeAccessible.cpp
--- a/accessible/src/xul/nsXULTreeAccessible.cpp
+++ b/accessible/src/xul/nsXULTreeAccessible.cpp
@@ -711,17 +711,17 @@ nsXULTreeitemAccessible::GetState(PRUint
 
   *aState = 0;
   if (aExtraState)
     *aExtraState = 0;
 
   NS_ENSURE_TRUE(mColumn && mTree && mTreeView, NS_ERROR_FAILURE);
 
   PRInt32 rowCount = 0;
-  rv = mTreeView->GetRowCount(&rowCount);
+  nsresult rv = mTreeView->GetRowCount(&rowCount);
   NS_ENSURE_SUCCESS(rv, rv);
 
   if (mRow < 0 || mRow >= rowCount) {
     if (aExtraState)
       *aExtraState = nsIAccessibleStates::EXT_STATE_DEFUNCT;
 
     return NS_OK;
   }