From 645a665555fd3072cb368db19b28dd665c84acca Mon Sep 17 00:00:00 2001 From: wuggy Date: Sun, 13 Sep 2026 10:55:00 -0700 Subject: [PATCH] Fix PiP build error --- dom/html/HTMLMediaElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/html/HTMLMediaElement.cpp b/dom/html/HTMLMediaElement.cpp index 2edcfc93da..0a1ecceeb5 100644 --- a/dom/html/HTMLMediaElement.cpp +++ b/dom/html/HTMLMediaElement.cpp @@ -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()); } }