Bug 1629351 - Fix typo in name of IsPincipalInfoPrivate. r=baku

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Cameron McCormack 2020-04-12 13:19:57 +00:00
Родитель 30ebe67957
Коммит 29c6b3234c
4 изменённых файлов: 4 добавлений и 4 удалений

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

@ -1324,7 +1324,7 @@ class GetUserMediaStreamRunnable : public Runnable {
}
});
if (!IsPincipalInfoPrivate(mPrincipalInfo)) {
if (!IsPrincipalInfoPrivate(mPrincipalInfo)) {
// Call GetPrincipalKey again, this time w/persist = true, to promote
// deviceIds to persistent, in case they're not already. Fire'n'forget.
media::GetPrincipalKey(mPrincipalInfo, true)

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

@ -440,7 +440,7 @@ mozilla::ipc::IPCResult Parent<Super>::RecvGetPrincipalKey(
nsresult rv;
nsAutoCString result;
if (IsPincipalInfoPrivate(aPrincipalInfo)) {
if (IsPrincipalInfoPrivate(aPrincipalInfo)) {
rv = sOriginKeyStore->mPrivateBrowsingOriginKeys.GetPrincipalKey(
aPrincipalInfo, result);
} else {

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

@ -341,7 +341,7 @@ nsresult PrincipalToPrincipalInfo(nsIPrincipal* aPrincipal,
return NS_OK;
}
bool IsPincipalInfoPrivate(const PrincipalInfo& aPrincipalInfo) {
bool IsPrincipalInfoPrivate(const PrincipalInfo& aPrincipalInfo) {
if (aPrincipalInfo.type() != ipc::PrincipalInfo::TContentPrincipalInfo) {
return false;
}

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

@ -104,7 +104,7 @@ nsresult CSPToCSPInfo(nsIContentSecurityPolicy* aCSP, CSPInfo* aCSPInfo);
* Return true if this PrincipalInfo is a content principal and it has
* a privateBrowsing id in its OriginAttributes
*/
bool IsPincipalInfoPrivate(const PrincipalInfo& aPrincipalInfo);
bool IsPrincipalInfoPrivate(const PrincipalInfo& aPrincipalInfo);
/**
* Convert an RedirectHistoryEntryInfo to a nsIRedirectHistoryEntry.