mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1425115 - Only add nsDisplayPerspective to mTransformFrame when retaining display list r=mattwoodrow
MozReview-Commit-ID: HKey0DG2r4c --HG-- extra : rebase_source : 4e3087f2c12751ec129d558127556259b1b12f23 extra : source : 27e11cbb58f2549e3df59aea3f95306613ec6194
This commit is contained in:
parent
d44db2f404
commit
ea3073f5e3
@ -9111,7 +9111,9 @@ nsDisplayPerspective::nsDisplayPerspective(nsDisplayListBuilder* aBuilder,
|
||||
MOZ_ASSERT(mList.GetChildren()->Count() == 1);
|
||||
MOZ_ASSERT(mList.GetChildren()->GetTop()->GetType() == DisplayItemType::TYPE_TRANSFORM);
|
||||
|
||||
mTransformFrame->AddDisplayItem(this);
|
||||
if (aBuilder->IsRetainingDisplayList()) {
|
||||
mTransformFrame->AddDisplayItem(this);
|
||||
}
|
||||
}
|
||||
|
||||
already_AddRefed<Layer>
|
||||
|
Loading…
Reference in New Issue
Block a user