From bd7385ba23d1054fd194290b8fd86600516c2895 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 22 Jun 2003 20:18:15 +0000 Subject: Use nsDependentCString instead of NS_LITERAL_CSTRING. Fixes bug 115739. 2003-06-22 Christian Persch * embed/mozilla/mozilla-embed-single.cpp: (impl_remove_cookies): Use nsDependentCString instead of NS_LITERAL_CSTRING. Fixes bug 115739. --- embed/mozilla/mozilla-embed-single.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'embed') 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; }; -- cgit v1.2.3