From e4c50bd58ada5d87f2eb8ab7b291fbd39999124f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 13 Dec 2013 20:25:08 +0000 Subject: Update for new libcss API. --- css/select.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'css/select.h') diff --git a/css/select.h b/css/select.h index 764c43fb9..7488ab94a 100644 --- a/css/select.h +++ b/css/select.h @@ -37,23 +37,16 @@ typedef struct nscss_select_ctx bool quirks; nsurl *base_url; lwc_string *universal; - - dom_node *current; - dom_element *parent; - css_bloom *bloom; } nscss_select_ctx; css_stylesheet *nscss_create_inline_style(const uint8_t *data, size_t len, - const char *charset, const char *url, bool allow_quirks, - css_allocator_fn alloc, void *pw); + const char *charset, const char *url, bool allow_quirks); css_select_results *nscss_get_style(nscss_select_ctx *ctx, dom_node *n, - uint64_t media, const css_stylesheet *inline_style, - css_allocator_fn alloc, void *pw); + uint64_t media, const css_stylesheet *inline_style); css_computed_style *nscss_get_blank_style(nscss_select_ctx *ctx, - const css_computed_style *parent, - css_allocator_fn alloc, void *pw); + const css_computed_style *parent); css_error nscss_compute_font_size(void *pw, const css_hint *parent, css_hint *size); -- cgit v1.2.3