mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
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:
parent
6489b46ed2
commit
5041ff3d97
@ -132,12 +132,6 @@ SourceBuffer::~SourceBuffer() {
|
|||||||
nsresult SourceBuffer::AppendChunk(Maybe<Chunk>&& aChunk) {
|
nsresult SourceBuffer::AppendChunk(Maybe<Chunk>&& aChunk) {
|
||||||
mMutex.AssertCurrentThreadOwns();
|
mMutex.AssertCurrentThreadOwns();
|
||||||
|
|
||||||
#ifdef DEBUG
|
|
||||||
if (mChunks.Length() > 0) {
|
|
||||||
NS_WARNING("Appending an extra chunk for SourceBuffer");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (MOZ_UNLIKELY(!aChunk)) {
|
if (MOZ_UNLIKELY(!aChunk)) {
|
||||||
return NS_ERROR_OUT_OF_MEMORY;
|
return NS_ERROR_OUT_OF_MEMORY;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user