Bug 1079314 - Remove the mWritingMode field from logical-coordinate objects in non-debug builds. r=smontagu

This commit is contained in:
Jonathan Kew
2014-10-08 10:32:50 +01:00
parent 5a322ed793
commit ab7aa27c99
2 changed files with 30 additions and 9 deletions

View File

@@ -512,8 +512,7 @@ nsTableOuterFrame::ComputeAutoSize(nsRenderingContext *aRenderingContext,
bool aShrinkWrap)
{
nscoord kidAvailableWidth = aAvailableISize - aMargin.ISize(aWM);
NS_ASSERTION(aBorder == LogicalSize(aWM) &&
aPadding == LogicalSize(aWM),
NS_ASSERTION(aBorder.IsAllZero() && aPadding.IsAllZero(),
"Table outer frames cannot have borders or paddings");
// When we're shrink-wrapping, our auto size needs to wrap around the