Merge mozilla-central to autoland

This commit is contained in:
arthur.iakab
2018-03-22 02:00:17 +02:00
331 changed files with 4807 additions and 4432 deletions

View File

@@ -1601,8 +1601,7 @@ nsDisplayImage::GetLayerState(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters)
{
if (!nsDisplayItem::ForceActiveLayers() &&
!ShouldUseAdvancedLayer(aManager, gfxPrefs::LayersAllowImageLayers)) {
if (!nsDisplayItem::ForceActiveLayers()) {
bool animated = false;
if (!nsLayoutUtils::AnimatedImageLayersEnabled() ||
mImage->GetType() != imgIContainer::TYPE_RASTER ||