diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 10:51:19 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2016-02-05 10:51:19 +0000 |
commit | eb67607e3b109c8e2b7c7d51ee7b38db8e67ff27 (patch) | |
tree | 7697853ed2b4f05eea786e47ecc90e13ab7bdd04 /css/css.c | |
parent | f06ec6390a3286db180ad3fda97baab9e8b54663 (diff) | |
parent | 278451463f53ddc4fed2c9a104089f17a8c9158f (diff) | |
download | netsurf-eb67607e3b109c8e2b7c7d51ee7b38db8e67ff27.tar.gz netsurf-eb67607e3b109c8e2b7c7d51ee7b38db8e67ff27.tar.bz2 |
Merge branch 'tlsa/upfront-hints'
Diffstat (limited to 'css/css.c')
-rw-r--r-- | css/css.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -31,6 +31,7 @@ #include "utils/messages.h" #include "css/css.h" +#include "css/hints.h" #include "css/internal.h" /* Define to trace import fetches */ @@ -806,6 +807,7 @@ static void nscss_fini(void) css_stylesheet_destroy(blank_import); blank_import = NULL; } + css_hint_fini(); } static const content_handler css_content_handler = { @@ -832,6 +834,10 @@ nserror nscss_init(void) if (error != NSERROR_OK) goto error; + error = css_hint_init(); + if (error != NSERROR_OK) + goto error; + return NSERROR_OK; error: |