diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-21 14:09:57 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-01-21 14:09:57 +0000 |
commit | 3dcf7d80a140d5c02a56423dbc3575bbdf51ff82 (patch) | |
tree | f93222049f2acd3eace968a33e6e435af8aa907b /render/box.h | |
parent | ad273a41e894adea3dfb5e66ecb40574be2d7485 (diff) | |
download | netsurf-3dcf7d80a140d5c02a56423dbc3575bbdf51ff82.tar.gz netsurf-3dcf7d80a140d5c02a56423dbc3575bbdf51ff82.tar.bz2 |
Pass html_content to box_extract_link.
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/box.h b/render/box.h index 5501f88c8..1f35adad9 100644 --- a/render/box.h +++ b/render/box.h @@ -334,7 +334,8 @@ struct box *box_pick_text_box(struct html_content *html, struct box *box_find_by_id(struct box *box, lwc_string *id); bool box_visible(struct box *box); void box_dump(FILE *stream, struct box *box, unsigned int depth, bool style); -bool box_extract_link(const char *rel, struct nsurl *base, struct nsurl **result); +bool box_extract_link(const struct html_content *content, + const char *rel, struct nsurl *base, struct nsurl **result); bool box_handle_scrollbars(struct content *c, struct box *box, bool bottom, bool right); |