Bug 1653563 - Remove nullptr usage in HTMLMediaElement.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D84538
This commit is contained in:
@@ -2357,7 +2357,7 @@ void HTMLMediaElement::NoSupportedMediaSourceError(
|
||||
|
||||
bool isThirdPartyLoad = false;
|
||||
nsresult rv = NS_ERROR_NOT_AVAILABLE;
|
||||
if (mSrcAttrTriggeringPrincipal) {
|
||||
if (mSrcAttrTriggeringPrincipal && mLoadingSrc) {
|
||||
rv = mSrcAttrTriggeringPrincipal->IsThirdPartyURI(mLoadingSrc,
|
||||
&isThirdPartyLoad);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user