Make content_invalidate_reuse_data cause llcache to invalidate cache control data

svn path=/trunk/netsurf/; revision=10412
This commit is contained in:
John Mark Bell 2010-04-16 20:43:36 +00:00
parent 44552e7492
commit e58a7d88f4

View File

@ -1297,11 +1297,11 @@ void content_invalidate_reuse_data(hlcache_handle *h)
void content__invalidate_reuse_data(struct content *c) void content__invalidate_reuse_data(struct content *c)
{ {
if (c == NULL) if (c == NULL || c->llcache == NULL)
return; return;
/* For now, just cause the content to be completely ignored */ /* Invalidate low-level cache data */
c->fresh = false; llcache_handle_invalidate_cache_data(c->llcache);
} }
/** /**