Bug 784739 - Switch from NULL to nullptr in startupcache/; r=ehsan
This commit is contained in:
@@ -23,23 +23,23 @@ NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR(StartupCacheWrapper,
|
||||
NS_DEFINE_NAMED_CID(NS_STARTUPCACHE_CID);
|
||||
|
||||
static const mozilla::Module::CIDEntry kStartupCacheCIDs[] = {
|
||||
{ &kNS_STARTUPCACHE_CID, false, NULL, StartupCacheWrapperConstructor },
|
||||
{ NULL }
|
||||
{ &kNS_STARTUPCACHE_CID, false, nullptr, StartupCacheWrapperConstructor },
|
||||
{ nullptr }
|
||||
};
|
||||
|
||||
static const mozilla::Module::ContractIDEntry kStartupCacheContracts[] = {
|
||||
{ "@mozilla.org/startupcache/cache;1", &kNS_STARTUPCACHE_CID },
|
||||
{ NULL }
|
||||
{ nullptr }
|
||||
};
|
||||
|
||||
static const mozilla::Module kStartupCacheModule = {
|
||||
mozilla::Module::kVersion,
|
||||
kStartupCacheCIDs,
|
||||
kStartupCacheContracts,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL
|
||||
nullptr,
|
||||
nullptr,
|
||||
nullptr,
|
||||
nullptr
|
||||
};
|
||||
|
||||
NSMODULE_DEFN(StartupCacheModule) = &kStartupCacheModule;
|
||||
|
||||
Reference in New Issue
Block a user