From e58a7d88f4bef5989847f26b3a0fd272acd806c5 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 16 Apr 2010 20:43:36 +0000 Subject: [PATCH] Make content_invalidate_reuse_data cause llcache to invalidate cache control data svn path=/trunk/netsurf/; revision=10412 --- content/content.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/content.c b/content/content.c index a270a1e78..428bffb70 100644 --- a/content/content.c +++ b/content/content.c @@ -1297,11 +1297,11 @@ void content_invalidate_reuse_data(hlcache_handle *h) void content__invalidate_reuse_data(struct content *c) { - if (c == NULL) + if (c == NULL || c->llcache == NULL) return; - /* For now, just cause the content to be completely ignored */ - c->fresh = false; + /* Invalidate low-level cache data */ + llcache_handle_invalidate_cache_data(c->llcache); } /**