When calling rowCountChanged on an nsITreeBoxObject, the implementation assumes
that the row count has actually changed. pageInfoTreeView violated this
assumption in addRows by first calling rowCountChanged and then updating its row
count. This patch fixes the issue by using the power of decomposition. That is,
there's already a perfectly fine function called 'addRow' that can be called
once for each row being added.
MozReview-Commit-ID: HP6LkP4ICLf
--HG--
extra : rebase_source : 574afa9a8bdaf6eea027144de96c55a2a24ea241