Bug 1340710 - Part 10 - Remove BasePrincipal::EqualsIgnoringAddonId which somehow crept back in during the last rebase

Landed on a CLOSED TREE
This commit is contained in:
Ehsan Akhgari 2017-03-06 23:21:59 -05:00
Родитель 3812e3f854
Коммит e3ddbde083
1 изменённых файлов: 0 добавлений и 16 удалений

Просмотреть файл

@ -397,22 +397,6 @@ BasePrincipal::EqualsConsideringDomain(nsIPrincipal *aOther, bool *aResult)
return NS_OK;
}
bool
BasePrincipal::EqualsIgnoringAddonId(nsIPrincipal *aOther)
{
MOZ_ASSERT(aOther);
// Note that this will not work for expanded principals, nor is it intended
// to.
if (!dom::ChromeUtils::IsOriginAttributesEqualIgnoringAddonId(
OriginAttributesRef(), Cast(aOther)->OriginAttributesRef())) {
return false;
}
return SubsumesInternal(aOther, DontConsiderDocumentDomain) &&
Cast(aOther)->SubsumesInternal(this, DontConsiderDocumentDomain);
}
bool
BasePrincipal::FastSubsumes(nsIPrincipal* aOther)
{