diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-12-13 20:25:08 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-12-13 20:25:08 +0000 |
commit | e4c50bd58ada5d87f2eb8ab7b291fbd39999124f (patch) | |
tree | fc08c3f9ecd02e5112de525e7c16c3f8843e034f /render/box_construct.c | |
parent | a7499820ba2f84fd3764b884c4cdedc2d3b04e84 (diff) | |
download | netsurf-e4c50bd58ada5d87f2eb8ab7b291fbd39999124f.tar.gz netsurf-e4c50bd58ada5d87f2eb8ab7b291fbd39999124f.tar.bz2 |
Update for new libcss API.
Diffstat (limited to 'render/box_construct.c')
-rw-r--r-- | render/box_construct.c | 6 |
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) |