From daa8697651893bfa7187f81caa890616803b6210 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 26 Feb 2011 00:58:54 +0000 Subject: Parallelise fetch and conversion of imported stylesheets svn path=/trunk/netsurf/; revision=11817 --- render/html.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'render') diff --git a/render/html.c b/render/html.c index 78275f15d..71304fde7 100644 --- a/render/html.c +++ b/render/html.c @@ -1107,7 +1107,8 @@ bool html_process_style_element(struct content *c, unsigned int *index, } error = nscss_create_css_data(sheet, - c->data.html.base_url, NULL, c->data.html.quirks); + c->data.html.base_url, NULL, c->data.html.quirks, + html_inline_style_done, c); if (error != NSERROR_OK) { c->data.html.stylesheet_count--; goto no_memory; @@ -1134,8 +1135,7 @@ bool html_process_style_element(struct content *c, unsigned int *index, c->active++; /* Convert the content -- manually, as we want the result */ - if (nscss_convert_css_data(sheet, - html_inline_style_done, c) != CSS_OK) { + if (nscss_convert_css_data(sheet) != CSS_OK) { /* conversion failed */ c->active--; nscss_destroy_css_data(sheet); -- cgit v1.2.3