summaryrefslogtreecommitdiff
path: root/bindings/hubbub/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/hubbub/parser.c')
-rw-r--r--bindings/hubbub/parser.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bindings/hubbub/parser.c b/bindings/hubbub/parser.c
index 4551f13..a19647b 100644
--- a/bindings/hubbub/parser.c
+++ b/bindings/hubbub/parser.c
@@ -190,8 +190,11 @@ dom_hubbub_parser *dom_hubbub_parser_create(const char *aliases,
/* No longer need the feature string */
dom_string_unref(features);
+ /* TODO: Just pass the dom_events_default_action_fetcher a NULL,
+ * we should pass the real function when we integrate libDOM with
+ * Netsurf */
err = dom_implementation_create_document(parser->impl, NULL, NULL, NULL,
- alloc, pw, ctx, &parser->doc);
+ alloc, pw, ctx, NULL, &parser->doc);
if (err != DOM_NO_ERR) {
hubbub_parser_destroy(parser->parser);
alloc(parser, 0, pw);