Bug 1273714: Remove an imagelib warning that's more spammy than useful at this point. r=tnikkel DONTBUILD

The condition that causes us to warn is typically a web-server configuration
issue, not a Firefox issue; and we handle it gracefully, so there's no real
point in adding to our debug-build terminal warning-spam.

Differential Revision: https://phabricator.services.mozilla.com/D189421
This commit is contained in:
Daniel Holbert 2023-09-27 23:27:13 +00:00
parent 6489b46ed2
commit 5041ff3d97

View File

@ -132,12 +132,6 @@ SourceBuffer::~SourceBuffer() {
nsresult SourceBuffer::AppendChunk(Maybe<Chunk>&& aChunk) {
mMutex.AssertCurrentThreadOwns();
#ifdef DEBUG
if (mChunks.Length() > 0) {
NS_WARNING("Appending an extra chunk for SourceBuffer");
}
#endif
if (MOZ_UNLIKELY(!aChunk)) {
return NS_ERROR_OUT_OF_MEMORY;
}