Bug 767388 - Kill NS_DEBUG. r=bz.

This commit is contained in:
Jonathan Watt committed 2012-06-25 20:59:42 +01:00
1 parent 147427731e
commit 131c149f2a
119 files changed
+245 -246

No files matched your search

+5 -5
View File
@@ -20,13 +20,13 @@
#include "nsSAXLocator.h"
#include "nsSAXXMLReader.h"
#if defined(NS_DEBUG)
#if defined(DEBUG)
#include "nsExpatDriver.h"
#endif
//----------------------------------------------------------------------
#if defined(NS_DEBUG)
#if defined(DEBUG)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsExpatDriver)
#endif
@@ -37,7 +37,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsParserService)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSAXAttributes)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSAXXMLReader)
#if defined(NS_DEBUG)
#if defined(DEBUG)
NS_DEFINE_NAMED_CID(NS_EXPAT_DRIVER_CID);
#endif
NS_DEFINE_NAMED_CID(NS_PARSER_CID);
@@ -47,7 +47,7 @@ NS_DEFINE_NAMED_CID(NS_SAXATTRIBUTES_CID);
NS_DEFINE_NAMED_CID(NS_SAXXMLREADER_CID);
static const mozilla::Module::CIDEntry kParserCIDs[] = {
#if defined(NS_DEBUG)
#if defined(DEBUG)
{ &kNS_EXPAT_DRIVER_CID, false, NULL, nsExpatDriverConstructor },
#endif
{ &kNS_PARSER_CID, false, NULL, nsParserConstructor },
@@ -76,7 +76,7 @@ Initialize()
nsHTMLTags::ReleaseTable();
return rv;
}
#ifdef NS_DEBUG
#ifdef DEBUG
CheckElementTable();
#endif
CNewlineToken::AllocNewline();