mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Make content_invalidate_reuse_data cause llcache to invalidate cache control data
svn path=/trunk/netsurf/; revision=10412
This commit is contained in:
parent
44552e7492
commit
e58a7d88f4
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user