Bug 784739 - Switch from NULL to nullptr in startupcache/; r=ehsan

This commit is contained in:
Birunthan Mohanathas
2013-07-31 11:44:43 -04:00
parent defed1ba26
commit 2c21bfc514
3 changed files with 22 additions and 22 deletions

View File

@@ -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;