зеркало из https://github.com/mozilla/pjs.git
Build bustage fix. Remove duplicate variable declarations and assignments. b=208093
This commit is contained in:
Родитель
0a90032224
Коммит
8c8bfafee7
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче