aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r--embed/mozilla/EphyBrowser.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 6f1cf7599..1fea9d6fc 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -81,7 +81,6 @@
#include "nsIDocumentCharsetInfo.h"
#include "nsPromiseFlatString.h"
#include "nsString.h"
-#include "nsUnicharUtils.h"
#include "ContentHandler.h"
EphyEventListener::EphyEventListener(void)
@@ -116,10 +115,8 @@ EphyFaviconEventListener::HandleFaviconLink (nsIDOMNode *node)
result = linkElement->GetAttribute (attr_rel, value);
if (NS_FAILED (result)) return NS_ERROR_FAILURE;
- if (value.Equals(NS_LITERAL_STRING("SHORTCUT ICON"),
- nsCaseInsensitiveStringComparator()) ||
- value.Equals(NS_LITERAL_STRING("ICON"),
- nsCaseInsensitiveStringComparator()))
+ if (value.EqualsIgnoreCase("SHORTCUT ICON") ||
+ value.EqualsIgnoreCase("ICON"))
{
NS_NAMED_LITERAL_STRING(attr_href, "href");
nsAutoString value;