зеркало из https://github.com/mozilla/pjs.git
Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=harishd sr=heikki
This commit is contained in:
Родитель
f0a1c01cf3
Коммит
6607572f3a
|
@ -47,6 +47,7 @@
|
|||
#include "nsVoidArray.h"
|
||||
#include "nsIElementObserver.h"
|
||||
|
||||
#define NS_PARSER_CONTRACTID_PREFIX "@mozilla.org/parser"
|
||||
#define NS_IPARSERSERVICE_IID \
|
||||
{ 0xa6cf9111, 0x15b3, 0x11d2, \
|
||||
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
|
||||
|
|
|
@ -84,7 +84,11 @@ static const nsModuleComponentInfo gComponents[] = {
|
|||
{ "Transitional DTD", NS_CTRANSITIONAL_DTD_CID, NULL,
|
||||
CTransitionalDTDConstructor },
|
||||
{ "ViewSource DTD", NS_VIEWSOURCE_DTD_CID, NULL, CViewSourceHTMLConstructor },
|
||||
{ "ParserService", NS_PARSERSERVICE_CID, NULL, nsParserServiceConstructor }
|
||||
{ "ParserService",
|
||||
NS_PARSERSERVICE_CID,
|
||||
NS_PARSER_CONTRACTID_PREFIX "/parser-service;1",
|
||||
nsParserServiceConstructor
|
||||
}
|
||||
};
|
||||
|
||||
static PRBool gInitialized = PR_FALSE;
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
#include "nsVoidArray.h"
|
||||
#include "nsIElementObserver.h"
|
||||
|
||||
#define NS_PARSER_CONTRACTID_PREFIX "@mozilla.org/parser"
|
||||
#define NS_IPARSERSERVICE_IID \
|
||||
{ 0xa6cf9111, 0x15b3, 0x11d2, \
|
||||
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
|
||||
|
|
|
@ -84,7 +84,11 @@ static const nsModuleComponentInfo gComponents[] = {
|
|||
{ "Transitional DTD", NS_CTRANSITIONAL_DTD_CID, NULL,
|
||||
CTransitionalDTDConstructor },
|
||||
{ "ViewSource DTD", NS_VIEWSOURCE_DTD_CID, NULL, CViewSourceHTMLConstructor },
|
||||
{ "ParserService", NS_PARSERSERVICE_CID, NULL, nsParserServiceConstructor }
|
||||
{ "ParserService",
|
||||
NS_PARSERSERVICE_CID,
|
||||
NS_PARSER_CONTRACTID_PREFIX "/parser-service;1",
|
||||
nsParserServiceConstructor
|
||||
}
|
||||
};
|
||||
|
||||
static PRBool gInitialized = PR_FALSE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче