summaryrefslogtreecommitdiff
path: root/content/handlers/html/html_css.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-05 15:25:15 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-05 15:25:15 +0100
commit2be3ebd91868436abcbbd581b3e661cdd6f95559 (patch)
tree3af990171e25b772ab9c414457d634bfb6e7c2fc /content/handlers/html/html_css.c
parent6ba199c7d7bee1909107ee0b8cbaf749c575b310 (diff)
downloadnetsurf-2be3ebd91868436abcbbd581b3e661cdd6f95559.tar.gz
netsurf-2be3ebd91868436abcbbd581b3e661cdd6f95559.tar.bz2
content: Rename content_broadcast_errorcode()
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/handlers/html/html_css.c')
-rw-r--r--content/handlers/html/html_css.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/handlers/html/html_css.c b/content/handlers/html/html_css.c
index 9d7cc7132..37a70fa70 100644
--- a/content/handlers/html/html_css.c
+++ b/content/handlers/html/html_css.c
@@ -248,7 +248,7 @@ html_create_style_element(html_content *c, dom_node *style)
(c->stylesheet_count + 1));
if (stylesheets == NULL) {
- content_broadcast_errorcode(&c->base, NSERROR_NOMEM);
+ content_broadcast_error(&c->base, NSERROR_NOMEM, NULL);
return false;
}
@@ -272,7 +272,7 @@ static bool html_css_process_modified_style(html_content *c,
error = html_stylesheet_from_domnode(c, s->node, &sheet);
if (error != NSERROR_OK) {
NSLOG(netsurf, INFO, "Failed to update sheet");
- content_broadcast_errorcode(&c->base, error);
+ content_broadcast_error(&c->base, error, NULL);
return false;
}
@@ -480,7 +480,7 @@ bool html_css_process_link(html_content *htmlc, dom_node *node)
return true;
no_memory:
- content_broadcast_errorcode(&htmlc->base, ns_error);
+ content_broadcast_error(&htmlc->base, ns_error, NULL);
return false;
}