From 479d0cb29a74eddc95e3e2292d9d49e8dafdf46f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 30 Apr 2020 22:16:41 +0100 Subject: remove unused available width and height parameters from html_fecth_object() --- content/handlers/html/html_internal.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'content/handlers/html/html_internal.h') diff --git a/content/handlers/html/html_internal.h b/content/handlers/html/html_internal.h index d9810177b..6b5533492 100644 --- a/content/handlers/html/html_internal.h +++ b/content/handlers/html/html_internal.h @@ -376,15 +376,10 @@ nserror html_css_fetcher_add_item(dom_string *data, nsurl *base_url, * \param url URL of object to fetch (copied) * \param box box that will contain the object * \param permitted_types bitmap of acceptable types - * \param available_width estimate of width of object - * \param available_height estimate of height of object * \param background this is a background image * \return true on success, false on memory exhaustion */ -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); nserror html_object_free_objects(html_content *html); nserror html_object_close_objects(html_content *html); -- cgit v1.2.3