mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Back out cset 3a0760865f8b (bug 1345053) for causing much linux64-qr reftest failure. r=me a=Tomcat
This commit is contained in:
parent
e820f4aba9
commit
18f8da69d2
@ -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 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user