Back out cset 3a0760865f8b (bug 1345053) for causing much linux64-qr reftest failure. r=me a=Tomcat

This commit is contained in:
Kartikaya Gupta 2017-03-09 09:42:51 -05:00
parent e820f4aba9
commit 18f8da69d2

View File

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