mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-08-12 12:29:00 +00:00
M1252374 reduce mallocs in displayList generation
This commit is contained in:
parent
96253b42bf
commit
c3b712f863
@ -647,7 +647,7 @@ nsDisplayListBuilder::nsDisplayListBuilder(nsIFrame* aReferenceFrame,
|
|||||||
mAsyncPanZoomEnabled(nsLayoutUtils::AsyncPanZoomEnabled(aReferenceFrame))
|
mAsyncPanZoomEnabled(nsLayoutUtils::AsyncPanZoomEnabled(aReferenceFrame))
|
||||||
{
|
{
|
||||||
MOZ_COUNT_CTOR(nsDisplayListBuilder);
|
MOZ_COUNT_CTOR(nsDisplayListBuilder);
|
||||||
PL_InitArenaPool(&mPool, "displayListArena", 1024,
|
PL_InitArenaPool(&mPool, "displayListArena", 4096,
|
||||||
std::max(NS_ALIGNMENT_OF(void*),NS_ALIGNMENT_OF(double))-1);
|
std::max(NS_ALIGNMENT_OF(void*),NS_ALIGNMENT_OF(double))-1);
|
||||||
|
|
||||||
nsPresContext* pc = aReferenceFrame->PresContext();
|
nsPresContext* pc = aReferenceFrame->PresContext();
|
||||||
|
Loading…
Reference in New Issue
Block a user