зеркало из https://github.com/mozilla/gecko-dev.git
Bug 689501 - Remove invalid assertion with 3d transforms. r=roc
This commit is contained in:
Родитель
f4cbbb87ca
Коммит
14526049b5
|
@ -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: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче