aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-06-23 04:18:15 +0800
committerChristian Persch <chpe@src.gnome.org>2003-06-23 04:18:15 +0800
commitbd7385ba23d1054fd194290b8fd86600516c2895 (patch)
treea77a4ed44ed55960c53eb2171e022836a54d613a /embed/mozilla
parent5b8df4b6ad3dc01e291259c5496194517963a31d (diff)
downloadgsoc2013-epiphany-bd7385ba23d1054fd194290b8fd86600516c2895.tar
gsoc2013-epiphany-bd7385ba23d1054fd194290b8fd86600516c2895.tar.gz
gsoc2013-epiphany-bd7385ba23d1054fd194290b8fd86600516c2895.tar.bz2
gsoc2013-epiphany-bd7385ba23d1054fd194290b8fd86600516c2895.tar.lz
gsoc2013-epiphany-bd7385ba23d1054fd194290b8fd86600516c2895.tar.xz
gsoc2013-epiphany-bd7385ba23d1054fd194290b8fd86600516c2895.tar.zst
gsoc2013-epiphany-bd7385ba23d1054fd194290b8fd86600516c2895.zip
Use nsDependentCString instead of NS_LITERAL_CSTRING. Fixes bug 115739.
2003-06-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (impl_remove_cookies): Use nsDependentCString instead of NS_LITERAL_CSTRING. Fixes bug 115739.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 7820afbde..3087ad801 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -902,9 +902,9 @@ impl_remove_cookies (EphyEmbedSingle *shell,
{
CookieInfo *c = (CookieInfo *)cl->data;
- result = cookieManager->Remove (NS_LITERAL_CSTRING(c->domain),
- NS_LITERAL_CSTRING(c->name),
- NS_LITERAL_CSTRING(c->path),
+ result = cookieManager->Remove (nsDependentCString(c->domain),
+ nsDependentCString(c->name),
+ nsDependentCString(c->path),
PR_FALSE);
if (NS_FAILED(result)) return G_FAILED;
};