diff options
author | Vincent Sanders <vince@kyllikki.org> | 2020-05-02 20:47:53 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2020-05-02 20:47:53 +0100 |
commit | a706c69bf416beedc71e386fe344761d5d417cd1 (patch) | |
tree | 34cfb8ae96d964a0b62e95d3abcee0f0e2c22783 /content/handlers/html/html.c | |
parent | 19cd5cb3b3771592110b7400558727b71a005f63 (diff) | |
download | netsurf-a706c69bf416beedc71e386fe344761d5d417cd1.tar.gz netsurf-a706c69bf416beedc71e386fe344761d5d417cd1.tar.bz2 |
improve html content handler private headers
Diffstat (limited to 'content/handlers/html/html.c')
-rw-r--r-- | content/handlers/html/html.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c index 2f6377f80..b4cda4a11 100644 --- a/content/handlers/html/html.c +++ b/content/handlers/html/html.c @@ -56,7 +56,8 @@ #include "desktop/gui_internal.h" #include "html/html.h" -#include "html/html_internal.h" +#include "html/private.h" +#include "html/css.h" #include "html/object.h" #include "html/html_save.h" #include "html/interaction.h" @@ -2816,7 +2817,7 @@ html_saw_insecure_objects(struct content *c) } /* Now check stylesheets */ - if (html_saw_insecure_stylesheets(htmlc)) { + if (html_css_saw_insecure_stylesheets(htmlc)) { return true; } @@ -2894,12 +2895,8 @@ error: return error; } -/** - * Get the browser window containing an HTML content - * - * \param c HTML content - * \return the browser window - */ + +/* exported function documented in html/private.h */ struct browser_window *html_get_browser_window(struct content *c) { html_content *html = (html_content *) c; |