diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-02-21 06:44:44 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-02-21 06:44:44 +0800 |
commit | 07ae00de7bf0ec13db06253330395054a24e7283 (patch) | |
tree | e2f66eaaa2245d6b52117e0aec21e28a06e9130f /embed/mozilla/EphyBrowser.cpp | |
parent | b2b76e137020df45176f40f80afac433a0f368d9 (diff) | |
download | gsoc2013-epiphany-07ae00de7bf0ec13db06253330395054a24e7283.tar gsoc2013-epiphany-07ae00de7bf0ec13db06253330395054a24e7283.tar.gz gsoc2013-epiphany-07ae00de7bf0ec13db06253330395054a24e7283.tar.bz2 gsoc2013-epiphany-07ae00de7bf0ec13db06253330395054a24e7283.tar.lz gsoc2013-epiphany-07ae00de7bf0ec13db06253330395054a24e7283.tar.xz gsoc2013-epiphany-07ae00de7bf0ec13db06253330395054a24e7283.tar.zst gsoc2013-epiphany-07ae00de7bf0ec13db06253330395054a24e7283.zip |
R embed/mozilla/nsUnicharUtils.h: R embed/mozilla/nsUnicharUtils.cpp:
2004-02-20 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EventContext.cpp:
* embed/mozilla/EphyBrowser.cpp:
R embed/mozilla/nsUnicharUtils.h:
R embed/mozilla/nsUnicharUtils.cpp:
Adapt to changed mozilla string APIs by getting rid of
nsUnicharUtils, and using EqualsIgnoreCase instead of
Equal with nsCaseInsensitiveStringComparator().
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r-- | embed/mozilla/EphyBrowser.cpp | 7 |
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; |