mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-29 17:40:42 +00:00
Only output the xif.xif debug file if DEBUG_XIF is defined. Requested by sfraser
This commit is contained in:
parent
9816376095
commit
0fc341f3a5
@ -67,7 +67,7 @@ nsXIFConverter::nsXIFConverter(nsString& aBuffer)
|
||||
nsXIFConverter::~nsXIFConverter()
|
||||
{
|
||||
MOZ_COUNT_DTOR(nsXIFConverter);
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG_XIF
|
||||
WriteDebugFile();
|
||||
#endif
|
||||
}
|
||||
@ -491,7 +491,7 @@ void nsXIFConverter::EndCSSDeclaration()
|
||||
FinishStartTag(nsString("css_declaration"),PR_TRUE);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG_XIF
|
||||
//
|
||||
// Leave a temp file for debugging purposes
|
||||
//
|
||||
|
@ -119,7 +119,7 @@ public:
|
||||
PRBool IsMarkupEntity(const PRUnichar aChar);
|
||||
PRBool AddMarkupEntity(const PRUnichar aChar);
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG_XIF
|
||||
void WriteDebugFile(); // saves to a temp file
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user