Fix PiP build error

This commit is contained in:
wuggy 2026-09-13 10:55:00 -07:00
commit 645a665555

View file

@ -5187,7 +5187,7 @@ void HTMLMediaElement::SetMozPictureInPicture(bool aEnabled)
{
MOZ_ASSERT(NS_IsMainThread());
mPictureInPicture = aEnabled;
if (mDecoder && !mDecoder->IsShutdown()) {
if (mDecoder && !mShuttingDown) {
mDecoder->NotifyOwnerActivityChanged(!IsHidden());
}
}