зеркало из https://github.com/mozilla/pjs.git
Added OPTIMIZATION comment.
This commit is contained in:
Родитель
0ea8f2a88a
Коммит
6ac2ef90cb
|
@ -90,6 +90,8 @@ nsTransactionManager::Do(nsITransaction *aTransaction)
|
|||
|
||||
NS_ADDREF(aTransaction);
|
||||
|
||||
// XXX: POSSIBLE OPTIMIZATION
|
||||
// We could use a factory that pre-allocates/recycles transaction items.
|
||||
tx = new nsTransactionItem(aTransaction);
|
||||
|
||||
if (!tx) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче