Change NS_ASSERTION to NS_VERIFY -- not a fatal condition
git-svn-id: svn://10.0.0.236/trunk@35266 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user