Add ifdef'ed Performance Reflow Counting code

This commit is contained in:
rods@netscape.com
2000-04-21 21:36:33 +00:00
parent 21c6c25cf0
commit c468a68fcc
14 changed files with 14 additions and 0 deletions

View File

@@ -629,6 +629,7 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext* aPresContext,
const nsHTMLReflowState& aReflowState,
nsReflowStatus& aStatus)
{
DO_GLOBAL_REFLOW_COUNT("nsTableCellFrame", aReflowState.reason);
if (nsDebugTable::gRflCell) nsTableFrame::DebugReflow("TC::Rfl", this, &aReflowState, nsnull);
nsresult rv = NS_OK;