diff --git a/htmlparser/src/nsHTMLTags.cpp b/htmlparser/src/nsHTMLTags.cpp index ed35026f330..14f18ae8433 100644 --- a/htmlparser/src/nsHTMLTags.cpp +++ b/htmlparser/src/nsHTMLTags.cpp @@ -112,7 +112,7 @@ nsHTMLTags::LookupTag(const nsCString& aTag) TagNode node(aTag); TagNode* found = (TagNode*)gTagTree->FindItem(&node); if (found) { - NS_ASSERTION(found->mStr.Equals(aTag,IGNORE_CASE), "bad tree"); + NS_ASSERTION(found->mStr.EqualsWithConversion(aTag,IGNORE_CASE), "bad tree"); return found->mEnum; } else { diff --git a/parser/htmlparser/src/nsHTMLTags.cpp b/parser/htmlparser/src/nsHTMLTags.cpp index ed35026f330..14f18ae8433 100644 --- a/parser/htmlparser/src/nsHTMLTags.cpp +++ b/parser/htmlparser/src/nsHTMLTags.cpp @@ -112,7 +112,7 @@ nsHTMLTags::LookupTag(const nsCString& aTag) TagNode node(aTag); TagNode* found = (TagNode*)gTagTree->FindItem(&node); if (found) { - NS_ASSERTION(found->mStr.Equals(aTag,IGNORE_CASE), "bad tree"); + NS_ASSERTION(found->mStr.EqualsWithConversion(aTag,IGNORE_CASE), "bad tree"); return found->mEnum; } else {