From 759014f170a0d7f1d49c199fb8106e3ba83e4912 Mon Sep 17 00:00:00 2001 From: scullin Date: Tue, 21 Apr 1998 18:25:52 +0000 Subject: [PATCH] Fix release mode bustage. git-svn-id: svn://10.0.0.236/trunk@466 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/table/src/nsTableRowFrame.cpp | 2 ++ mozilla/layout/tables/nsTableRowFrame.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/mozilla/layout/html/table/src/nsTableRowFrame.cpp b/mozilla/layout/html/table/src/nsTableRowFrame.cpp index 3dfc1a640d1..2af64ea1fb8 100644 --- a/mozilla/layout/html/table/src/nsTableRowFrame.cpp +++ b/mozilla/layout/html/table/src/nsTableRowFrame.cpp @@ -290,10 +290,12 @@ nsTableRowFrame::ResizeReflow(nsIPresContext* aPresContext, } if (nsnull != prevKidFrame) { +#ifdef NS_DEBUG if (!IsLastChild(prevKidFrame)) { mGeometricParent->List(); } +#endif NS_ASSERTION(IsLastChild(prevKidFrame), "unexpected last child"); SetLastContentOffset(prevKidFrame); } diff --git a/mozilla/layout/tables/nsTableRowFrame.cpp b/mozilla/layout/tables/nsTableRowFrame.cpp index 3dfc1a640d1..2af64ea1fb8 100644 --- a/mozilla/layout/tables/nsTableRowFrame.cpp +++ b/mozilla/layout/tables/nsTableRowFrame.cpp @@ -290,10 +290,12 @@ nsTableRowFrame::ResizeReflow(nsIPresContext* aPresContext, } if (nsnull != prevKidFrame) { +#ifdef NS_DEBUG if (!IsLastChild(prevKidFrame)) { mGeometricParent->List(); } +#endif NS_ASSERTION(IsLastChild(prevKidFrame), "unexpected last child"); SetLastContentOffset(prevKidFrame); }