diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-04-30 22:16:41 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-04-30 22:16:41 +0100 |
commit | 479d0cb29a74eddc95e3e2292d9d49e8dafdf46f (patch) | |
tree | 76f81e7bafc5d60e5dcb3a136b0bfa775e6fbc96 /content/handlers/html/object.c | |
parent | 6b6bbad2b7765378b5135a26b3d410d6b0079966 (diff) | |
download | netsurf-479d0cb29a74eddc95e3e2292d9d49e8dafdf46f.tar.gz netsurf-479d0cb29a74eddc95e3e2292d9d49e8dafdf46f.tar.bz2 |
remove unused available width and height parameters from html_fecth_object()
Diffstat (limited to 'content/handlers/html/object.c')
-rw-r--r-- | content/handlers/html/object.c | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/content/handlers/html/object.c b/content/handlers/html/object.c index 587c48756..c20118d69 100644 --- a/content/handlers/html/object.c +++ b/content/handlers/html/object.c @@ -677,10 +677,12 @@ nserror html_object_free_objects(html_content *html) /* exported interface documented in html/html_internal.h */ -bool html_fetch_object(html_content *c, nsurl *url, struct box *box, - content_type permitted_types, - int available_width, int available_height, - bool background) +bool +html_fetch_object(html_content *c, + nsurl *url, + struct box *box, + content_type permitted_types, + bool background) { struct content_html_object *object; hlcache_child_context child; @@ -706,10 +708,14 @@ bool html_fetch_object(html_content *c, nsurl *url, struct box *box, object->background = background; error = hlcache_handle_retrieve(url, - HLCACHE_RETRIEVE_SNIFF_TYPE, - content_get_url(&c->base), NULL, - html_object_callback, object, &child, - object->permitted_types, &object->content); + HLCACHE_RETRIEVE_SNIFF_TYPE, + content_get_url(&c->base), + NULL, + html_object_callback, + object, + &child, + object->permitted_types, + &object->content); if (error != NSERROR_OK) { free(object); return error != NSERROR_NOMEM; |