summaryrefslogtreecommitdiff
path: root/css/css.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2016-02-05 10:51:19 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2016-02-05 10:51:19 +0000
commiteb67607e3b109c8e2b7c7d51ee7b38db8e67ff27 (patch)
tree7697853ed2b4f05eea786e47ecc90e13ab7bdd04 /css/css.c
parentf06ec6390a3286db180ad3fda97baab9e8b54663 (diff)
parent278451463f53ddc4fed2c9a104089f17a8c9158f (diff)
downloadnetsurf-eb67607e3b109c8e2b7c7d51ee7b38db8e67ff27.tar.gz
netsurf-eb67607e3b109c8e2b7c7d51ee7b38db8e67ff27.tar.bz2
Merge branch 'tlsa/upfront-hints'
Diffstat (limited to 'css/css.c')
-rw-r--r--css/css.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/css/css.c b/css/css.c
index acbc14a14..66dc6d4ba 100644
--- a/css/css.c
+++ b/css/css.c
@@ -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: