206835 - debug code should be #ifdef DEBUG

r=timeless sr=jst
This commit is contained in:
caillon%returnzero.com 2003-05-23 21:59:08 +00:00
parent f494b74da9
commit ce0d95233e
2 changed files with 4 additions and 0 deletions

View File

@ -398,6 +398,7 @@ nsSVGElement::GetAttrCount(PRInt32& aResult) const
return NS_OK;
}
#ifdef DEBUG
NS_IMETHODIMP
nsSVGElement::List(FILE* out, PRInt32 aIndent) const
{
@ -413,6 +414,7 @@ nsSVGElement::DumpContent(FILE* out, PRInt32 aIndent,PRBool aDumpAll) const
fprintf(out, "some SVG element\n");
return NS_OK;
}
#endif // DEBUG
//----------------------------------------------------------------------
// nsIStyledContent methods

View File

@ -114,8 +114,10 @@ public:
nsIAtom*& aName,
nsIAtom*& aPrefix) const;
NS_IMETHOD GetAttrCount(PRInt32& aResult) const;
#ifdef DEBUG
NS_IMETHOD List(FILE* out, PRInt32 aIndent) const;
NS_IMETHOD DumpContent(FILE* out, PRInt32 aIndent,PRBool aDumpAll) const;
#endif // DEBUG
// NS_IMETHOD RangeAdd(nsIDOMRange& aRange);
// NS_IMETHOD RangeRemove(nsIDOMRange& aRange);