From df89f689f7ddcb082b4616c6e32cabbb859b3a11 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 25 Oct 2014 21:34:09 +0100 Subject: make the pseudo css fetcher report initialisation errors --- render/html_internal.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'render/html_internal.h') diff --git a/render/html_internal.h b/render/html_internal.h index 28522dc93..b57f240bd 100644 --- a/render/html_internal.h +++ b/render/html_internal.h @@ -293,7 +293,12 @@ nserror html_css_new_selection_context(html_content *c, css_select_ctx **ret_select_ctx); /* in render/html_css_fetcher.c */ -void html_css_fetcher_register(void); +/** + * Register the fetcher for the pseudo x-ns-css scheme. + * + * \return NSERROR_OK on successful registration or error code on failure. + */ +nserror html_css_fetcher_register(void); nserror html_css_fetcher_add_item(dom_string *data, nsurl *base_url, uint32_t *key); -- cgit v1.2.3