summaryrefslogtreecommitdiff
path: root/source/html
diff options
context:
space:
mode:
Diffstat (limited to 'source/html')
-rw-r--r--source/html/css-parse.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/source/html/css-parse.c b/source/html/css-parse.c
index d454dbf1..d4aa39ec 100644
--- a/source/html/css-parse.c
+++ b/source/html/css-parse.c
@@ -746,24 +746,3 @@ struct rule *fz_parse_css(fz_context *ctx, struct rule *chain, const char *sourc
next(&buf);
return parse_stylesheet(&buf, chain);
}
-
-struct rule *fz_parse_css_file(fz_context *ctx, struct rule *chain, const char *filename)
-{
- fz_buffer *buf = fz_read_file(ctx, filename);
-
- fz_try(ctx)
- {
- fz_write_buffer_byte(ctx, buf, 0);
- chain = fz_parse_css(ctx, chain, (char*)buf->data);
- }
- fz_always(ctx)
- {
- fz_drop_buffer(ctx, buf);
- }
- fz_catch(ctx)
- {
- fz_rethrow(ctx);
- }
-
- return chain;
-}