summaryrefslogtreecommitdiff
path: root/test/parse-auto.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse-auto.c')
-rw-r--r--test/parse-auto.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/parse-auto.c b/test/parse-auto.c
index 135696b..070f8db 100644
--- a/test/parse-auto.c
+++ b/test/parse-auto.c
@@ -324,8 +324,8 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen)
lwc_context_ref(ctx);
assert(css_stylesheet_create(CSS_LEVEL_21, "UTF-8", "foo", NULL,
- CSS_ORIGIN_AUTHOR, CSS_MEDIA_ALL, false, false, ctx,
- myrealloc, NULL, resolve_url, NULL, &sheet) == CSS_OK);
+ false, false, ctx, myrealloc, NULL, resolve_url, NULL,
+ &sheet) == CSS_OK);
error = css_stylesheet_append_data(sheet, data, len);
if (error != CSS_OK && error != CSS_NEEDDATA) {
@@ -353,9 +353,9 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen)
buf[lwc_string_length(url)] = '\0';
assert(css_stylesheet_create(CSS_LEVEL_21,
- "UTF-8", buf, NULL, CSS_ORIGIN_AUTHOR,
- media, false, false, ctx, myrealloc, NULL,
- resolve_url, NULL, &import) == CSS_OK);
+ "UTF-8", buf, NULL, false, false, ctx,
+ myrealloc, NULL, resolve_url, NULL,
+ &import) == CSS_OK);
assert(css_stylesheet_register_import(sheet,
import) == CSS_OK);