summaryrefslogtreecommitdiff
path: root/test/parse-auto.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-05 14:20:58 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-05 14:20:58 +0000
commit01d8e176628db2dc5a2a192ac7b097bd1998c8eb (patch)
treeaaafdf5d24f1bf0299dc171862c1a41e8f2f6914 /test/parse-auto.c
parent478018da914c247d0d49f64aba9eb3eb9a552199 (diff)
downloadlibcss-01d8e176628db2dc5a2a192ac7b097bd1998c8eb.tar.gz
libcss-01d8e176628db2dc5a2a192ac7b097bd1998c8eb.tar.bz2
Provide notification hook for imported stylesheets, to enable clients to parallelise their processing
svn path=/trunk/libcss/; revision=10999
Diffstat (limited to 'test/parse-auto.c')
-rw-r--r--test/parse-auto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parse-auto.c b/test/parse-auto.c
index e050a08..ffff3f2 100644
--- a/test/parse-auto.c
+++ b/test/parse-auto.c
@@ -327,7 +327,7 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen)
assert(css_stylesheet_create(CSS_LEVEL_21, "UTF-8", "foo", NULL,
false, false, myrealloc, NULL, resolve_url, NULL,
- &sheet) == CSS_OK);
+ NULL, NULL, &sheet) == CSS_OK);
error = css_stylesheet_append_data(sheet, data, len);
if (error != CSS_OK && error != CSS_NEEDDATA) {
@@ -357,7 +357,7 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen)
assert(css_stylesheet_create(CSS_LEVEL_21,
"UTF-8", buf, NULL, false, false,
myrealloc, NULL, resolve_url, NULL,
- &import) == CSS_OK);
+ NULL, NULL, &import) == CSS_OK);
assert(css_stylesheet_register_import(sheet,
import) == CSS_OK);