Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -70,11 +70,6 @@
|
||||
#include "nsIBrowserBoxObject.h"
|
||||
#include "nsISHistory.h"
|
||||
#endif
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsFrameFrameLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsFrameFrameLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsFrameFrameLog)
|
||||
|
||||
class nsHTMLFrame;
|
||||
|
||||
@@ -220,7 +215,7 @@ nsHTMLFrameOuterFrame::nsHTMLFrameOuterFrame()
|
||||
|
||||
nsHTMLFrameOuterFrame::~nsHTMLFrameOuterFrame()
|
||||
{
|
||||
//PRINTF("nsHTMLFrameOuterFrame destructor %X \n", this);
|
||||
//printf("nsHTMLFrameOuterFrame destructor %X \n", this);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
@@ -290,7 +285,7 @@ nsHTMLFrameOuterFrame::Paint(nsIPresContext* aPresContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
//PRINTF("outer paint %X (%d,%d,%d,%d) \n", this, aDirtyRect.x, aDirtyRect.y, aDirtyRect.width, aDirtyRect.height);
|
||||
//printf("outer paint %X (%d,%d,%d,%d) \n", this, aDirtyRect.x, aDirtyRect.y, aDirtyRect.width, aDirtyRect.height);
|
||||
nsIFrame* firstChild = mFrames.FirstChild();
|
||||
if (nsnull != firstChild) {
|
||||
firstChild->Paint(aPresContext, aRenderingContext, aDirtyRect,
|
||||
@@ -327,7 +322,7 @@ nsHTMLFrameOuterFrame::Reflow(nsIPresContext* aPresContext,
|
||||
nsReflowStatus& aStatus)
|
||||
{
|
||||
DO_GLOBAL_REFLOW_COUNT("nsHTMLFrameOuterFrame", aReflowState.reason);
|
||||
//PRINTF("OuterFrame::Reflow %X (%d,%d) \n", this, aReflowState.availableWidth, aReflowState.availableHeight);
|
||||
//printf("OuterFrame::Reflow %X (%d,%d) \n", this, aReflowState.availableWidth, aReflowState.availableHeight);
|
||||
NS_FRAME_TRACE(NS_FRAME_TRACE_CALLS,
|
||||
("enter nsHTMLFrameOuterFrame::Reflow: maxSize=%d,%d reason=%d",
|
||||
aReflowState.availableWidth, aReflowState.availableHeight, aReflowState.reason));
|
||||
@@ -433,7 +428,7 @@ nsHTMLFrameOuterFrame::AttributeChanged(nsIPresContext* aPresContext,
|
||||
PRInt32 aHint)
|
||||
{
|
||||
if (nsHTMLAtoms::src == aAttribute) {
|
||||
PRINTF("got a request\n");
|
||||
printf("got a request\n");
|
||||
nsIFrame* firstChild = mFrames.FirstChild();
|
||||
if (nsnull != firstChild) {
|
||||
return ((nsHTMLFrameInnerFrame*)firstChild)->ReloadURL(aPresContext);
|
||||
@@ -468,7 +463,7 @@ nsHTMLFrameInnerFrame::nsHTMLFrameInnerFrame()
|
||||
|
||||
nsHTMLFrameInnerFrame::~nsHTMLFrameInnerFrame()
|
||||
{
|
||||
//PRINTF("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
//printf("nsHTMLFrameInnerFrame destructor %X \n", this);
|
||||
|
||||
#ifdef INCLUDE_XUL
|
||||
nsCOMPtr<nsIDOMXULElement> xulElt(do_QueryInterface(mContent));
|
||||
@@ -655,7 +650,7 @@ nsHTMLFrameInnerFrame::Paint(nsIPresContext* aPresContext,
|
||||
const nsRect& aDirtyRect,
|
||||
nsFramePaintLayer aWhichLayer)
|
||||
{
|
||||
//PRINTF("inner paint %X (%d,%d,%d,%d) \n", this, aDirtyRect.x, aDirtyRect.y, aDirtyRect.width, aDirtyRect.height);
|
||||
//printf("inner paint %X (%d,%d,%d,%d) \n", this, aDirtyRect.x, aDirtyRect.y, aDirtyRect.width, aDirtyRect.height);
|
||||
// if there is not web shell paint based on our background color,
|
||||
// otherwise let the web shell paint the sub document
|
||||
if (!mSubShell) {
|
||||
|
||||
Reference in New Issue
Block a user