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)