From 920d6fa23dcf954a280812feeae4baf02fcaeb57 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 4 May 2019 12:02:55 +0100 Subject: CSS: Update for change to libcss select style API. LibCSS now takes the client media spec, rather than just the media type we're selecting for. Signed-off-by: Michael Drake --- content/handlers/css/select.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/handlers/css/select.h') diff --git a/content/handlers/css/select.h b/content/handlers/css/select.h index 9fa6d3a56..b45d1ed3c 100644 --- a/content/handlers/css/select.h +++ b/content/handlers/css/select.h @@ -45,7 +45,7 @@ css_stylesheet *nscss_create_inline_style(const uint8_t *data, size_t len, 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); + const css_media *media, const css_stylesheet *inline_style); css_computed_style *nscss_get_blank_style(nscss_select_ctx *ctx, const css_computed_style *parent); -- cgit v1.2.3