summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/content/content.c b/content/content.c
index 3df71b83f..f3345db77 100644
--- a/content/content.c
+++ b/content/content.c
@@ -910,12 +910,7 @@ lwc_string *content__get_mime_type(struct content *c)
* \param c Content to retrieve URL from
* \return Pointer to URL, or NULL if not found.
*/
-nsurl *content_get_url(hlcache_handle *h)
-{
- return content__get_url(hlcache_handle_get_content(h));
-}
-
-nsurl *content__get_url(struct content *c)
+nsurl *content_get_url(struct content *c)
{
if (c == NULL)
return NULL;