mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 74803 - Should make global data const where possible; const changes for nsmodulecomponentinfo; r=dbaron
This commit is contained in:
parent
85f2bfe920
commit
9313832a8a
@ -204,7 +204,7 @@ NS_IMETHODIMP className::QueryInterface( REFNSIID anIID, void **anInstancePtr )
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR( nsUnknownContentTypeHandler )
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo info[] = {
|
||||
static const nsModuleComponentInfo info[] = {
|
||||
{
|
||||
"nsUnknownContentTypeHandler",
|
||||
NS_IHELPERAPPLAUNCHERDIALOG_IID,
|
||||
|
@ -209,7 +209,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsAuthSASL)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "nsAuthKerbGSS",
|
||||
NS_GSSAUTH_CID,
|
||||
NS_AUTH_MODULE_CONTRACTID_PREFIX "kerb-gss",
|
||||
|
@ -117,7 +117,7 @@ mozInlineSpellCheckerConstructor(nsISupports *aOuter, REFNSIID aIID,
|
||||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
#ifdef MOZ_MACBROWSER
|
||||
{
|
||||
"OSX Spell check service",
|
||||
|
@ -56,7 +56,7 @@
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsSemanticUnitScanner)
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
// lwbrk
|
||||
{ "Line Breaker", NS_LBRK_CID,
|
||||
|
@ -127,7 +127,7 @@ nsUKProbDetectorRegistrationProc(nsIComponentManager *aCompMgr,
|
||||
}
|
||||
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Meta Charset", NS_META_CHARSET_CID,
|
||||
NS_META_CHARSET_CONTRACTID, nsMetaCharsetObserverConstructor,
|
||||
|
@ -43,7 +43,7 @@
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDeflateConverter)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsZipWriter)
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
DEFLATECONVERTER_CLASSNAME,
|
||||
|
@ -1010,7 +1010,7 @@ ScopedXPCOMStartup::~ScopedXPCOMStartup()
|
||||
#define APPINFO_CID \
|
||||
{ 0x95d89e3e, 0xa169, 0x41a3, { 0x8e, 0x56, 0x71, 0x99, 0x78, 0xe1, 0x5b, 0x12 } }
|
||||
|
||||
static nsModuleComponentInfo kComponents[] =
|
||||
static const nsModuleComponentInfo kComponents[] =
|
||||
{
|
||||
{
|
||||
"nsXULAppInfo",
|
||||
|
@ -79,7 +79,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsFilePicker)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsBidiKeyboard)
|
||||
#endif
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Ph nsWindow",
|
||||
NS_WINDOW_CID,
|
||||
|
Loading…
Reference in New Issue
Block a user