diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index 8a4e73c78e9..0aa50ae6c53 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -2079,9 +2079,11 @@ nsFrame::GetFrameForPoint(nsIPresContext* aPresContext, NS_IMETHODIMP nsFrame::WillReflow(nsIPresContext* aPresContext) { +#ifdef DEBUG_dbaron // bug 81268 NS_ASSERTION(!(mState & NS_FRAME_IN_REFLOW), "nsFrame::WillReflow: frame is already in reflow"); +#endif NS_FRAME_TRACE_MSG(NS_FRAME_TRACE_CALLS, ("WillReflow: oldState=%x", mState)); diff --git a/layout/html/base/src/nsFrame.cpp b/layout/html/base/src/nsFrame.cpp index 8a4e73c78e9..0aa50ae6c53 100644 --- a/layout/html/base/src/nsFrame.cpp +++ b/layout/html/base/src/nsFrame.cpp @@ -2079,9 +2079,11 @@ nsFrame::GetFrameForPoint(nsIPresContext* aPresContext, NS_IMETHODIMP nsFrame::WillReflow(nsIPresContext* aPresContext) { +#ifdef DEBUG_dbaron // bug 81268 NS_ASSERTION(!(mState & NS_FRAME_IN_REFLOW), "nsFrame::WillReflow: frame is already in reflow"); +#endif NS_FRAME_TRACE_MSG(NS_FRAME_TRACE_CALLS, ("WillReflow: oldState=%x", mState));