diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2021-03-22 17:47:11 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2021-05-19 14:40:54 +0100 |
commit | ecf42afc3329b03ee642ede84f9ba224d2aff1e1 (patch) | |
tree | f147bfabd58888c1f9fd2bd98c14b840314eb5ed /src/select/unit.h | |
parent | 65d4fd6e83d421e7fa7a8c7df44d01797e3c69ae (diff) | |
download | libcss-tlsa/units.tar.gz |
Selection: Don't duplicate unit conversion members in media descriptor.tlsa/units
Diffstat (limited to 'src/select/unit.h')
-rw-r--r-- | src/select/unit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select/unit.h b/src/select/unit.h index e4d21da..6a677b6 100644 --- a/src/select/unit.h +++ b/src/select/unit.h @@ -14,13 +14,13 @@ /** * Convert a length to CSS pixels for a media query context. * - * \param[in] media Client media specification. + * \param[in] ctx Document unit conversion context. * \param[in] length Length to convert. * \param[in] unit Current unit of length. * \return A length in CSS pixels. */ css_fixed css_unit_len2px_mq( - const css_media *media, + const css_unit_ctx *ctx, const css_fixed length, const css_unit unit); |