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); }