mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
Bug 1447707 - Remove the XPIDL SAX interface to the XML parser. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D14724
This commit is contained in:
1 parent
b7d3f6bb24
commit
1e445d4f70
12 files changed
+2
-1300
No files matched your search
@@ -7,24 +7,17 @@
|
||||
#include "nsParser.h"
|
||||
#include "nsParserCIID.h"
|
||||
#include "nsHTMLTags.h"
|
||||
#include "nsSAXXMLReader.h"
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsParser)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSAXXMLReader)
|
||||
|
||||
NS_DEFINE_NAMED_CID(NS_PARSER_CID);
|
||||
NS_DEFINE_NAMED_CID(NS_SAXXMLREADER_CID);
|
||||
|
||||
static const mozilla::Module::CIDEntry kParserCIDs[] = {
|
||||
{&kNS_PARSER_CID, false, nullptr, nsParserConstructor},
|
||||
{&kNS_SAXXMLREADER_CID, false, nullptr, nsSAXXMLReaderConstructor},
|
||||
{nullptr}};
|
||||
|
||||
static const mozilla::Module::ContractIDEntry kParserContracts[] = {
|
||||
{NS_SAXXMLREADER_CONTRACTID, &kNS_SAXXMLREADER_CID}, {nullptr}};
|
||||
|
||||
static nsresult Initialize() {
|
||||
nsresult rv = nsHTMLTags::AddRefTable();
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
@@ -41,7 +34,7 @@ static void Shutdown() { nsHTMLTags::ReleaseTable(); }
|
||||
|
||||
static mozilla::Module kParserModule = {mozilla::Module::kVersion,
|
||||
kParserCIDs,
|
||||
kParserContracts,
|
||||
nullptr,
|
||||
nullptr,
|
||||
nullptr,
|
||||
Initialize,
|
||||
|
||||
Reference in new issue
Block a user