Build bustage fix. Remove duplicate variable declarations and assignments. b=208093
git-svn-id: svn://10.0.0.236/trunk@144343 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ce7c0f4950
commit
b117394bfc
@ -1707,17 +1707,13 @@ NS_IMETHODIMP nsTreeBodyFrame::RowCountChanged(PRInt32 aIndex, PRInt32 aCount)
|
||||
if (mUpdateBatchNest)
|
||||
return NS_OK;
|
||||
|
||||
PRInt32 count = PR_ABS(aCount);
|
||||
mRowCount += aCount;
|
||||
#ifdef DEBUG
|
||||
PRInt32 rowCount = mRowCount;
|
||||
mView->GetRowCount(&rowCount);
|
||||
NS_ASSERTION(rowCount == mRowCount, "row count did not change by the amount suggested, check caller");
|
||||
#endif
|
||||
|
||||
PRInt32 count = PR_ABS(aCount);
|
||||
PRInt32 rowCount;
|
||||
mView->GetRowCount(&rowCount);
|
||||
#ifdef DEBUG
|
||||
NS_ASSERTION(rowCount == mRowCount, "row count did not change by the amount suggested, check caller");
|
||||
#endif
|
||||
|
||||
PRInt32 last;
|
||||
GetLastVisibleRow(&last);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user