зеркало из https://github.com/mozilla/gecko-dev.git
Change NS_ASSERTION to NS_VERIFY -- not a fatal condition
This commit is contained in:
Родитель
7d19a465fb
Коммит
15e2d7ad0b
|
@ -523,7 +523,7 @@ void nsHTMLContentSinkStream::EnsureBufferSize(PRInt32 aNewSize)
|
|||
void nsHTMLContentSinkStream::EncodeToBuffer(const nsString& aSrc)
|
||||
{
|
||||
|
||||
NS_ASSERTION(mUnicodeEncoder != nsnull,"The unicode encoder needs to be initialized");
|
||||
NS_VERIFY(mUnicodeEncoder != nsnull,"The unicode encoder needs to be initialized");
|
||||
if (mUnicodeEncoder == nsnull)
|
||||
return;
|
||||
|
||||
|
|
|
@ -523,7 +523,7 @@ void nsHTMLContentSinkStream::EnsureBufferSize(PRInt32 aNewSize)
|
|||
void nsHTMLContentSinkStream::EncodeToBuffer(const nsString& aSrc)
|
||||
{
|
||||
|
||||
NS_ASSERTION(mUnicodeEncoder != nsnull,"The unicode encoder needs to be initialized");
|
||||
NS_VERIFY(mUnicodeEncoder != nsnull,"The unicode encoder needs to be initialized");
|
||||
if (mUnicodeEncoder == nsnull)
|
||||
return;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче