mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-06 19:29:24 +02:00
Bug 689501 - Remove invalid assertion with 3d transforms. r=roc
This commit is contained in:
parent
f4cbbb87ca
commit
14526049b5
1 changed files with 0 additions and 3 deletions
|
|
@ -1528,9 +1528,6 @@ WrapPreserve3DList(nsIFrame *aFrame, nsDisplayListBuilder *aBuilder, nsDisplayLi
|
||||||
if (childFrame->GetParent()->Preserves3DChildren()) {
|
if (childFrame->GetParent()->Preserves3DChildren()) {
|
||||||
switch (item->GetType()) {
|
switch (item->GetType()) {
|
||||||
case nsDisplayItem::TYPE_TRANSFORM: {
|
case nsDisplayItem::TYPE_TRANSFORM: {
|
||||||
// The child transform frame should always preserve 3d. In the cases where preserve-3d is disabled
|
|
||||||
// such as clipping, this would be wrapped in a clip display object, and we wouldn't reach this point.
|
|
||||||
NS_ASSERTION(childFrame->Preserves3D(), "Child transform frame must preserve 3d!");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case nsDisplayItem::TYPE_WRAP_LIST: {
|
case nsDisplayItem::TYPE_WRAP_LIST: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue