From 49c6e391714afc2b935014b413f2da0b92cf3d95 Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Sat, 20 Aug 2005 07:13:52 +0000 Subject: [PATCH] Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin git-svn-id: svn://10.0.0.236/trunk@178467 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/gtk/nsNativeThemeGTK.cpp | 2 +- mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/widget/src/gtk/nsNativeThemeGTK.cpp b/mozilla/widget/src/gtk/nsNativeThemeGTK.cpp index 730cd8dc835..f3003a73538 100644 --- a/mozilla/widget/src/gtk/nsNativeThemeGTK.cpp +++ b/mozilla/widget/src/gtk/nsNativeThemeGTK.cpp @@ -171,7 +171,7 @@ static PRBool CheckBooleanAttr(nsIFrame* aFrame, nsIAtom* aAtom) if (res == NS_CONTENT_ATTR_NO_VALUE || (res != NS_CONTENT_ATTR_NOT_THERE && attr.IsEmpty())) return PR_TRUE; // This handles the HTML case (an attr with no value is like a true val) - return attr.EqualsIgnoreCase("true"); // This handles the XUL case. + return attr.LowerCaseEqualsLiteral("true"); // This handles the XUL case. } static PRInt32 CheckIntegerAttr(nsIFrame *aFrame, nsIAtom *aAtom) diff --git a/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp b/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp index 730cd8dc835..f3003a73538 100644 --- a/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp +++ b/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp @@ -171,7 +171,7 @@ static PRBool CheckBooleanAttr(nsIFrame* aFrame, nsIAtom* aAtom) if (res == NS_CONTENT_ATTR_NO_VALUE || (res != NS_CONTENT_ATTR_NOT_THERE && attr.IsEmpty())) return PR_TRUE; // This handles the HTML case (an attr with no value is like a true val) - return attr.EqualsIgnoreCase("true"); // This handles the XUL case. + return attr.LowerCaseEqualsLiteral("true"); // This handles the XUL case. } static PRInt32 CheckIntegerAttr(nsIFrame *aFrame, nsIAtom *aAtom)