Include size of lwc_context in content size.

svn path=/trunk/netsurf/; revision=8835
This commit is contained in:
John Mark Bell 2009-07-28 00:21:36 +00:00
parent c75a613546
commit 1b60cd63b7

View File

@ -498,6 +498,8 @@ bool html_convert(struct content *c, int width, int height)
binding_destroy_tree(c->data.html.parser_binding); binding_destroy_tree(c->data.html.parser_binding);
c->data.html.parser_binding = NULL; c->data.html.parser_binding = NULL;
c->size += lwc_context_size(c->data.html.dict);
if (c->active == 0) if (c->active == 0)
c->status = CONTENT_STATUS_DONE; c->status = CONTENT_STATUS_DONE;
else else