Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf

This commit is contained in:
jaggernaut%netscape.com 2001-12-16 13:18:45 +00:00
parent bbe387ce7f
commit 06fe480469

View File

@ -427,7 +427,7 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
PRBool needsParser=PR_TRUE;
if (aCommand)
{
if (nsDependentCString(aCommand) == NS_LITERAL_CSTRING("view delayedContentLoad")) {
if (!nsCRT::strcmp(aCommand, "view delayedContentLoad")) {
needsParser = PR_FALSE;
}
}