summaryrefslogtreecommitdiff
path: root/render/box_construct.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box_construct.c')
-rw-r--r--render/box_construct.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/render/box_construct.c b/render/box_construct.c
index 3251cc17f..4ce2151cd 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -1442,8 +1442,7 @@ css_select_results *box_get_style(html_content *c,
dom_string_byte_length(s),
c->encoding,
nsurl_access(content_get_url(&c->base)),
- c->quirks != DOM_DOCUMENT_QUIRKS_MODE_NONE,
- box_style_alloc, NULL);
+ c->quirks != DOM_DOCUMENT_QUIRKS_MODE_NONE);
dom_string_unref(s);
@@ -1458,8 +1457,7 @@ css_select_results *box_get_style(html_content *c,
ctx.universal = c->universal;
/* Select partial style for element */
- styles = nscss_get_style(&ctx, n, CSS_MEDIA_SCREEN, inline_style,
- box_style_alloc, NULL);
+ styles = nscss_get_style(&ctx, n, CSS_MEDIA_SCREEN, inline_style);
/* No longer need inline style */
if (inline_style != NULL)