Bug 689501 - Remove invalid assertion with 3d transforms. r=roc

This commit is contained in:
Matt Woodrow 2011-09-30 14:07:04 +13:00
Родитель f4cbbb87ca
Коммит 14526049b5
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -1528,9 +1528,6 @@ WrapPreserve3DList(nsIFrame *aFrame, nsDisplayListBuilder *aBuilder, nsDisplayLi
if (childFrame->GetParent()->Preserves3DChildren()) {
switch (item->GetType()) {
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;
}
case nsDisplayItem::TYPE_WRAP_LIST: {