mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
Bug 1479945: Part 4 - Remove unused isContract directive flag. r=froydnj
MozReview-Commit-ID: DLCiNb39gA8 --HG-- extra : rebase_source : f0295229bf775ec0ae0536e3c95262c026727376
This commit is contained in:
parent
4a88c05507
commit
036cc0da8d
@ -61,8 +61,6 @@ struct ManifestDirective
|
||||
void (nsChromeRegistry::*regfunc)(
|
||||
nsChromeRegistry::ManifestProcessingContext& aCx,
|
||||
int aLineNo, char* const* aArgv, int aFlags);
|
||||
|
||||
bool isContract;
|
||||
};
|
||||
static const ManifestDirective kParsingTable[] = {
|
||||
{
|
||||
@ -696,15 +694,8 @@ ParseManifest(NSLocationType aType, FileLocation& aFile, char* aBuf,
|
||||
(nsChromeRegistry::gChromeRegistry->*(directive->regfunc))(
|
||||
chromecx, line, argv, flags);
|
||||
} else if (directive->ischrome || !aChromeOnly) {
|
||||
if (directive->isContract) {
|
||||
CachedDirective* cd = contracts.AppendElement();
|
||||
cd->lineno = line;
|
||||
cd->argv[0] = argv[0];
|
||||
cd->argv[1] = argv[1];
|
||||
} else {
|
||||
(nsComponentManagerImpl::gComponentManager->*(directive->mgrfunc))(
|
||||
mgrcx, line, argv);
|
||||
}
|
||||
(nsComponentManagerImpl::gComponentManager->*(directive->mgrfunc))(
|
||||
mgrcx, line, argv);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user