зеркало из https://github.com/mozilla/pjs.git
206835 - debug code should be #ifdef DEBUG
r=timeless sr=jst
This commit is contained in:
Родитель
08a70ed81d
Коммит
83c8e5d5fe
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче