Change NS_ASSERTION to NS_VERIFY -- not a fatal condition

This commit is contained in:
akkana%netscape.com 1999-06-14 23:00:50 +00:00
parent 7d19a465fb
commit 15e2d7ad0b
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;