Bug 1618251 - Remove the duplicated call to GetKeyForPrincipal() which got added during rebasing; r=baku

Differential Revision: https://phabricator.services.mozilla.com/D64404

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Ehsan Akhgari 2020-02-26 16:49:59 +00:00
Родитель 20782f4014
Коммит cc9c416a87
1 изменённых файлов: 0 добавлений и 1 удалений

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

@ -3249,7 +3249,6 @@ nsPermissionManager::GetAllKeysForPrincipal(nsIPrincipal* aPrincipal) {
// Add the pair to the list
Pair<nsCString, nsCString>* pair =
pairs.AppendElement(MakePair(EmptyCString(), EmptyCString()));
GetKeyForPrincipal(prin, false, pair->first());
// We can't check for individual OA strip perms here.
// Don't force strip origin attributes.
GetKeyForPrincipal(prin, false, pair->first());