From 31fe96b5bac8cfecf0419efcce8ac34c88a7aedf Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Sat, 9 Jan 1999 01:43:02 +0000 Subject: [PATCH] Turned off assert git-svn-id: svn://10.0.0.236/trunk@17441 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsHTMLReflowState.cpp | 2 +- mozilla/layout/html/base/src/nsHTMLReflowState.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/layout/generic/nsHTMLReflowState.cpp b/mozilla/layout/generic/nsHTMLReflowState.cpp index e0ed0459b6c..cd05e29f6dd 100644 --- a/mozilla/layout/generic/nsHTMLReflowState.cpp +++ b/mozilla/layout/generic/nsHTMLReflowState.cpp @@ -261,7 +261,7 @@ nsHTMLReflowState::InitConstraints(nsIPresContext& aPresContext) // by the content edge nscoord containingBlockWidth = cbrs->computedWidth; nscoord containingBlockHeight = cbrs->computedHeight; - NS_ASSERTION(0 != containingBlockWidth, "containing block width of 0"); + //NS_ASSERTION(0 != containingBlockWidth, "containing block width of 0"); nsStyleUnit widthUnit = pos->mWidth.GetUnit(); nsStyleUnit heightUnit = pos->mHeight.GetUnit(); diff --git a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp index e0ed0459b6c..cd05e29f6dd 100644 --- a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp +++ b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp @@ -261,7 +261,7 @@ nsHTMLReflowState::InitConstraints(nsIPresContext& aPresContext) // by the content edge nscoord containingBlockWidth = cbrs->computedWidth; nscoord containingBlockHeight = cbrs->computedHeight; - NS_ASSERTION(0 != containingBlockWidth, "containing block width of 0"); + //NS_ASSERTION(0 != containingBlockWidth, "containing block width of 0"); nsStyleUnit widthUnit = pos->mWidth.GetUnit(); nsStyleUnit heightUnit = pos->mHeight.GetUnit();