Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson

git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
2000-10-27 22:43:51 +00:00
parent e7c9040b5e
commit c6b67eceeb
757 changed files with 10724 additions and 8223 deletions

View File

@@ -34,6 +34,11 @@
#include "nsBlockFrame.h"
#include "nsLineBox.h"
#include "nsImageFrame.h"
#include "nslog.h"
NS_IMPL_LOG(nsHTMLReflowStateLog)
#define PRINTF NS_LOG_PRINTF(nsHTMLReflowStateLog)
#define FLUSH NS_LOG_FLUSH(nsHTMLReflowStateLog)
#ifdef NS_DEBUG
#undef NOISY_VERTICAL_ALIGN
@@ -1494,8 +1499,8 @@ nsHTMLReflowState::InitConstraints(nsIPresContext* aPresContext,
}
#if 0
nsFrame::ListTag(stdout, frame); printf(": cb=");
nsFrame::ListTag(stdout, cbrs->frame); printf(" size=%d,%d\n", aContainingBlockWidth, aContainingBlockHeight);
nsFrame::ListTag(stdout, frame); PRINTF(": cb=");
nsFrame::ListTag(stdout, cbrs->frame); PRINTF(" size=%d,%d\n", aContainingBlockWidth, aContainingBlockHeight);
#endif
// See if the containing block height is based on the size of its