Reflect changes to libcss API
svn path=/trunk/netsurf/; revision=11001
This commit is contained in:
parent
1a7dffdac6
commit
08ca689172
|
@ -111,6 +111,7 @@ nserror nscss_create_css_data(struct content_css_data *c,
|
|||
url, NULL, quirks, false,
|
||||
ns_realloc, NULL,
|
||||
nscss_resolve_url, NULL,
|
||||
NULL, NULL,
|
||||
&c->sheet);
|
||||
if (error != CSS_OK) {
|
||||
return NSERROR_NOMEM;
|
||||
|
@ -442,6 +443,7 @@ css_error nscss_import_complete(struct content_css_data *c,
|
|||
NULL, "", NULL, false, false,
|
||||
ns_realloc, NULL,
|
||||
nscss_resolve_url, NULL,
|
||||
NULL, NULL,
|
||||
&blank_import);
|
||||
if (error != CSS_OK) {
|
||||
return error;
|
||||
|
|
|
@ -136,7 +136,7 @@ css_stylesheet *nscss_create_inline_style(const uint8_t *data, size_t len,
|
|||
|
||||
error = css_stylesheet_create(CSS_LEVEL_DEFAULT, charset, url, NULL,
|
||||
allow_quirks, true, alloc, pw, nscss_resolve_url,
|
||||
NULL, &sheet);
|
||||
NULL, NULL, NULL, &sheet);
|
||||
if (error != CSS_OK) {
|
||||
LOG(("Failed creating sheet: %d", error));
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue