зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1449414 - Remove nsCSSAnonBoxes::GetNonInheritingPseudoAtom. r=xidorn
It's unused. MozReview-Commit-ID: 2GymDMCE92a --HG-- extra : rebase_source : 008840538c1047989532121d36d618a152e57f97
This commit is contained in:
Родитель
f437a6c4f5
Коммит
54ea4d8301
|
@ -77,10 +77,3 @@ nsCSSAnonBoxes::NonInheritingTypeForPseudoTag(nsAtom* aPseudo)
|
|||
MOZ_RELEASE_ASSERT(index.isSome());
|
||||
return static_cast<NonInheriting>(*index);
|
||||
}
|
||||
|
||||
/* static */ nsAtom*
|
||||
nsCSSAnonBoxes::GetNonInheritingPseudoAtom(NonInheriting aBoxType)
|
||||
{
|
||||
MOZ_ASSERT(aBoxType < NonInheriting::_Count);
|
||||
return *sCSSAnonBoxAtomSetup[static_cast<NonInheritingBase>(aBoxType)].mAtomp;
|
||||
}
|
||||
|
|
|
@ -118,10 +118,6 @@ public:
|
|||
// Get the NonInheriting type for a given pseudo tag. The pseudo tag must
|
||||
// test true for IsNonInheritingAnonBox.
|
||||
static NonInheriting NonInheritingTypeForPseudoTag(nsAtom* aPseudo);
|
||||
|
||||
// Get the atom for a given non-inheriting anon box type. aBoxType must be <
|
||||
// NonInheriting::_Count.
|
||||
static nsAtom* GetNonInheritingPseudoAtom(NonInheriting aBoxType);
|
||||
};
|
||||
|
||||
#endif /* nsCSSAnonBoxes_h___ */
|
||||
|
|
Загрузка…
Ссылка в новой задаче