aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-single.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-embed-single.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index dc5540302..808d61f24 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -203,8 +203,7 @@ static void
mozilla_embed_single_finalize (GObject *object);
static gresult
-impl_clear_cache (EphyEmbedSingle *shell,
- CacheType type);
+impl_clear_cache (EphyEmbedSingle *shell);
static gresult
impl_set_offline_mode (EphyEmbedSingle *shell,
gboolean offline);
@@ -651,8 +650,7 @@ mozilla_embed_single_finalize (GObject *object)
}
static gresult
-impl_clear_cache (EphyEmbedSingle *shell,
- CacheType type)
+impl_clear_cache (EphyEmbedSingle *shell)
{
nsresult rv;
@@ -660,7 +658,7 @@ impl_clear_cache (EphyEmbedSingle *shell,
do_GetService (NS_CACHESERVICE_CONTRACTID, &rv);
if (NS_FAILED(rv)) return G_FAILED;
- CacheService->EvictEntries((guint)type);
+ CacheService->EvictEntries (nsICache::STORE_ANYWHERE);
return G_OK;
}