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:
@@ -40,6 +40,11 @@
|
||||
#include "nsStyleUtil.h"
|
||||
|
||||
#include "nsMathMLmrootFrame.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsMathMLmrootFrameLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsMathMLmrootFrameLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsMathMLmrootFrameLog)
|
||||
|
||||
//
|
||||
// <msqrt> and <mroot> -- form a radical - implementation
|
||||
@@ -214,7 +219,7 @@ nsMathMLmrootFrame::Reflow(nsIPresContext* aPresContext,
|
||||
}
|
||||
if ((2 != count) || !baseFrame || !indexFrame) {
|
||||
#ifdef NS_DEBUG
|
||||
printf("mroot: invalid markup");
|
||||
PRINTF("mroot: invalid markup");
|
||||
#endif
|
||||
// report an error, encourage people to get their markups in order
|
||||
return ReflowError(aPresContext, renderingContext, aDesiredSize);
|
||||
|
||||
Reference in New Issue
Block a user