From 8f3f7baf7832301c4eecf528db447a6a809208ac Mon Sep 17 00:00:00 2001 From: "jaggernaut%netscape.com" Date: Sun, 16 Dec 2001 13:18:45 +0000 Subject: [PATCH] Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf git-svn-id: svn://10.0.0.236/trunk@110582 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/document/src/nsHTMLDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/content/html/document/src/nsHTMLDocument.cpp b/mozilla/content/html/document/src/nsHTMLDocument.cpp index a8273a7955e..9beb2de5dce 100644 --- a/mozilla/content/html/document/src/nsHTMLDocument.cpp +++ b/mozilla/content/html/document/src/nsHTMLDocument.cpp @@ -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; } }