Merge mozilla-central to autoland
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user