Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange

* * *
[mq]: fix

MozReview-Commit-ID: LUXZAIL73BJ
This commit is contained in:
Matt Woodrow
2017-08-07 16:07:43 +12:00
parent e62cf6dd69
commit 8370362323
36 changed files with 265 additions and 208 deletions

View File

@@ -513,7 +513,7 @@ nsTableCellFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
aLists.BorderBackground()->AppendNewToTop(new (aBuilder)
nsDisplayGeneric(aBuilder, this, ::PaintTableCellSelection,
"TableCellSelection",
nsDisplayItem::TYPE_TABLE_CELL_SELECTION));
DisplayItemType::TYPE_TABLE_CELL_SELECTION));
}
}