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:
@@ -27,6 +27,11 @@
|
||||
#include "nsIView.h"
|
||||
#include "nsIViewManager.h"
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsButtonFrameRendererLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsButtonFrameRendererLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsButtonFrameRendererLog)
|
||||
|
||||
#define ACTIVE "active"
|
||||
#define HOVER "hover"
|
||||
@@ -114,7 +119,7 @@ nsButtonFrameRenderer::PaintButton (nsIPresContext* aPresContext,
|
||||
nsFramePaintLayer aWhichLayer,
|
||||
const nsRect& aRect)
|
||||
{
|
||||
//printf("painted width='%d' height='%d'\n",aRect.width, aRect.height);
|
||||
//PRINTF("painted width='%d' height='%d'\n",aRect.width, aRect.height);
|
||||
|
||||
// draw the border and background inside the focus and outline borders
|
||||
PaintBorderAndBackground(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer, aRect);
|
||||
|
||||
Reference in New Issue
Block a user