Bug 1252929: Next.1. Make layers.max-active preference not need a restart. r=mstange

This commit is contained in:
Milan Sreckovic
2016-03-04 12:13:57 -05:00
parent 8dbaf55085
commit 9475f9de56
4 changed files with 2 additions and 21 deletions

View File

@@ -3739,7 +3739,7 @@ ContainerState::ProcessDisplayItems(nsDisplayList* aList)
}
}
int32_t maxLayers = nsDisplayItem::MaxActiveLayers();
int32_t maxLayers = gfxPrefs::MaxActiveLayers();
int layerCount = 0;
nsDisplayList savedItems;