From aa3801157a292b6f8e7e1aa0acec6ed23ff711ce Mon Sep 17 00:00:00 2001 From: buster Date: Thu, 16 Apr 1998 22:25:09 +0000 Subject: [PATCH] removed noisy debug --- layout/html/table/src/nsTableOuterFrame.cpp | 5 +++-- layout/html/table/src/nsTableRowGroupFrame.cpp | 2 +- layout/tables/nsTableOuterFrame.cpp | 5 +++-- layout/tables/nsTableRowGroupFrame.cpp | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/layout/html/table/src/nsTableOuterFrame.cpp b/layout/html/table/src/nsTableOuterFrame.cpp index 8af23c33a13..cb926a50202 100644 --- a/layout/html/table/src/nsTableOuterFrame.cpp +++ b/layout/html/table/src/nsTableOuterFrame.cpp @@ -168,8 +168,9 @@ nsIFrame::ReflowStatus nsTableOuterFrame::ResizeReflow(nsIPresContext* aPresCont const nsSize& aMaxSize, nsSize* aMaxElementSize) { - if (PR_TRUE==gsDebug) printf ("***table outer frame reflow \t\t%d\n", this); - if (gsDebug==PR_TRUE) + if (PR_TRUE==gsDebug) + printf ("***table outer frame reflow \t\t%p\n", this); + if (PR_TRUE==gsDebug) printf("nsTableOuterFrame::ResizeReflow : maxSize=%d,%d\n", aMaxSize.width, aMaxSize.height); diff --git a/layout/html/table/src/nsTableRowGroupFrame.cpp b/layout/html/table/src/nsTableRowGroupFrame.cpp index 1c6f8a6c6e1..05eb5f4e21c 100644 --- a/layout/html/table/src/nsTableRowGroupFrame.cpp +++ b/layout/html/table/src/nsTableRowGroupFrame.cpp @@ -27,7 +27,7 @@ #include "nsIView.h" #ifdef NS_DEBUG -static PRBool gsDebug1 = PR_TRUE; +static PRBool gsDebug1 = PR_FALSE; static PRBool gsDebug2 = PR_FALSE; //#define NOISY //#define NOISY_FLOW diff --git a/layout/tables/nsTableOuterFrame.cpp b/layout/tables/nsTableOuterFrame.cpp index 8af23c33a13..cb926a50202 100644 --- a/layout/tables/nsTableOuterFrame.cpp +++ b/layout/tables/nsTableOuterFrame.cpp @@ -168,8 +168,9 @@ nsIFrame::ReflowStatus nsTableOuterFrame::ResizeReflow(nsIPresContext* aPresCont const nsSize& aMaxSize, nsSize* aMaxElementSize) { - if (PR_TRUE==gsDebug) printf ("***table outer frame reflow \t\t%d\n", this); - if (gsDebug==PR_TRUE) + if (PR_TRUE==gsDebug) + printf ("***table outer frame reflow \t\t%p\n", this); + if (PR_TRUE==gsDebug) printf("nsTableOuterFrame::ResizeReflow : maxSize=%d,%d\n", aMaxSize.width, aMaxSize.height); diff --git a/layout/tables/nsTableRowGroupFrame.cpp b/layout/tables/nsTableRowGroupFrame.cpp index 1c6f8a6c6e1..05eb5f4e21c 100644 --- a/layout/tables/nsTableRowGroupFrame.cpp +++ b/layout/tables/nsTableRowGroupFrame.cpp @@ -27,7 +27,7 @@ #include "nsIView.h" #ifdef NS_DEBUG -static PRBool gsDebug1 = PR_TRUE; +static PRBool gsDebug1 = PR_FALSE; static PRBool gsDebug2 = PR_FALSE; //#define NOISY //#define NOISY_FLOW