diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-06-23 04:18:15 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-06-23 04:18:15 +0800 |
commit | bd7385ba23d1054fd194290b8fd86600516c2895 (patch) | |
tree | a77a4ed44ed55960c53eb2171e022836a54d613a /embed/mozilla/mozilla-embed-single.cpp | |
parent | 5b8df4b6ad3dc01e291259c5496194517963a31d (diff) | |
download | gsoc2013-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/mozilla-embed-single.cpp')
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 6 |
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; }; |