Bug 1626927 - Remove nsIPrincipal-Geturi in AlertNotification.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D69368
This commit is contained in:
@@ -121,7 +121,8 @@ AlertNotification::GetURI(nsIURI** aURI) {
|
||||
*aURI = nullptr;
|
||||
return NS_OK;
|
||||
}
|
||||
return mPrincipal->GetURI(aURI);
|
||||
auto* basePrin = BasePrincipal::Cast(mPrincipal);
|
||||
return basePrin->GetURI(aURI);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user