mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 18:01:44 -10:00
Bug 589506 - Scrub the codebase of MOZ_VIEW_SOURCE and MOZ_JSLOADER. r+=ted
This commit is contained in:
1 parent
15bebbb578
commit
ba9a471508
12 files changed
+6
-79
No files matched your search
@@ -52,10 +52,7 @@
|
||||
#include "nsSAXAttributes.h"
|
||||
#include "nsSAXLocator.h"
|
||||
#include "nsSAXXMLReader.h"
|
||||
|
||||
#ifdef MOZ_VIEW_SOURCE
|
||||
#include "nsViewSourceHTML.h"
|
||||
#endif
|
||||
|
||||
#if defined(NS_DEBUG)
|
||||
#include "nsLoggingSink.h"
|
||||
@@ -73,9 +70,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsParser)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(CNavDTD)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsParserService)
|
||||
|
||||
#ifdef MOZ_VIEW_SOURCE
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(CViewSourceHTML)
|
||||
#endif
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSAXAttributes)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSAXXMLReader)
|
||||
@@ -86,9 +81,7 @@ NS_DEFINE_NAMED_CID(NS_EXPAT_DRIVER_CID);
|
||||
#endif
|
||||
NS_DEFINE_NAMED_CID(NS_PARSER_CID);
|
||||
NS_DEFINE_NAMED_CID(NS_CNAVDTD_CID);
|
||||
#ifdef MOZ_VIEW_SOURCE
|
||||
NS_DEFINE_NAMED_CID(NS_VIEWSOURCE_DTD_CID);
|
||||
#endif
|
||||
NS_DEFINE_NAMED_CID(NS_PARSERSERVICE_CID);
|
||||
NS_DEFINE_NAMED_CID(NS_SAXATTRIBUTES_CID);
|
||||
NS_DEFINE_NAMED_CID(NS_SAXXMLREADER_CID);
|
||||
@@ -100,9 +93,7 @@ static const mozilla::Module::CIDEntry kParserCIDs[] = {
|
||||
#endif
|
||||
{ &kNS_PARSER_CID, false, NULL, nsParserConstructor },
|
||||
{ &kNS_CNAVDTD_CID, false, NULL, CNavDTDConstructor },
|
||||
#ifdef MOZ_VIEW_SOURCE
|
||||
{ &kNS_VIEWSOURCE_DTD_CID, false, NULL, CViewSourceHTMLConstructor },
|
||||
#endif
|
||||
{ &kNS_PARSERSERVICE_CID, false, NULL, nsParserServiceConstructor },
|
||||
{ &kNS_SAXATTRIBUTES_CID, false, NULL, nsSAXAttributesConstructor },
|
||||
{ &kNS_SAXXMLREADER_CID, false, NULL, nsSAXXMLReaderConstructor },
|
||||
|
||||
Reference in new issue
Block a user