diff --git a/content/media/fmp4/apple/AppleCMLinker.cpp b/content/media/fmp4/apple/AppleCMLinker.cpp index 6a84e9ef855f..bde9819d6509 100644 --- a/content/media/fmp4/apple/AppleCMLinker.cpp +++ b/content/media/fmp4/apple/AppleCMLinker.cpp @@ -73,7 +73,7 @@ fail: AppleCMLinker::Unlink() { MOZ_ASSERT(NS_IsMainThread()); - MOZ_ASSERT(sLink && sRefCount > 0, "Unbalanced Unlink()"); + MOZ_ASSERT(sRefCount > 0, "Unbalanced Unlink()"); --sRefCount; if (sLink && sRefCount < 1) { LOG("Unlinking CoreMedia framework."); diff --git a/content/media/fmp4/apple/AppleVTLinker.cpp b/content/media/fmp4/apple/AppleVTLinker.cpp index 01c6e82949b1..74cd1ae6d8c9 100644 --- a/content/media/fmp4/apple/AppleVTLinker.cpp +++ b/content/media/fmp4/apple/AppleVTLinker.cpp @@ -77,7 +77,7 @@ AppleVTLinker::Unlink() // reference count to avoidunloading our symbols when other // instances still need them. MOZ_ASSERT(NS_IsMainThread()); - MOZ_ASSERT(sLink && sRefCount > 0, "Unbalanced Unlink()"); + MOZ_ASSERT(sRefCount > 0, "Unbalanced Unlink()"); --sRefCount; if (sLink && sRefCount < 1) { LOG("Unlinking VideoToolbox framework.");