Bug 1079621 - Change non-fatal errors to warnings. r=rillian

This resolves intermittent failures in continuous integration.

NS_ERROR() triggers an assertion in debug builds, which tinderbox
reports as a failure. NS_WARNING calls NS_DebugBreak, but with the
lower severity level it skips invoking the debugger.
This commit is contained in:
Jean-Yves Avenard 2014-11-06 12:29:45 +11:00
Родитель ad948ddd6a
Коммит 43e6e5bbf7
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -351,7 +351,7 @@ AppleVDADecoder::SubmitFrame(mp4_demuxer::MP4Sample* aSample)
MOZ_ASSERT(CFGetRetainCount(frameInfo) >= 2, "Bad retain count");
if (rv != noErr) {
NS_ERROR("AppleVDADecoder: Couldn't pass frame to decoder");
NS_WARNING("AppleVDADecoder: Couldn't pass frame to decoder");
return NS_ERROR_FAILURE;
}

Просмотреть файл

@ -240,7 +240,7 @@ AppleVTDecoder::SubmitFrame(mp4_demuxer::MP4Sample* aSample)
CreateAppleFrameRef(aSample),
&flags);
if (rv != noErr) {
NS_ERROR("Couldn't pass frame to decoder");
NS_WARNING("Couldn't pass frame to decoder");
return NS_ERROR_FAILURE;
}