summaryrefslogtreecommitdiff
path: root/bindings/hubbub/parser.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2012-12-06 19:31:17 +0000
committerVincent Sanders <vince@netsurf-browser.org>2012-12-06 19:31:17 +0000
commit64f734f9144b08d93e206c189336bdf61a65d88c (patch)
treeec0da0fba736611431718031db93f7770025b441 /bindings/hubbub/parser.c
parent5a0d96027b949a0c1b0b25e8553a78e2a8957c48 (diff)
downloadlibdom-64f734f9144b08d93e206c189336bdf61a65d88c.tar.gz
libdom-64f734f9144b08d93e206c189336bdf61a65d88c.tar.bz2
add default action fetcher to binding parameters
Diffstat (limited to 'bindings/hubbub/parser.c')
-rw-r--r--bindings/hubbub/parser.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/bindings/hubbub/parser.c b/bindings/hubbub/parser.c
index 947c6f3..0c80a65 100644
--- a/bindings/hubbub/parser.c
+++ b/bindings/hubbub/parser.c
@@ -788,12 +788,13 @@ dom_hubbub_parser_create(dom_hubbub_parser_params *params,
return (DOM_HUBBUB_HUBBUB_ERR | error);
}
- /* TODO: Just pass the dom_events_default_action_fetcher a NULL,
- * we should pass the real function when we integrate libDOM with
- * NetSurf */
+ /* create DOM document */
err = dom_implementation_create_document(DOM_IMPLEMENTATION_HTML,
- NULL, NULL, NULL,
- NULL, &binding->doc);
+ NULL,
+ NULL,
+ NULL,
+ params->daf,
+ &binding->doc);
if (err != DOM_NO_ERR) {
hubbub_parser_destroy(binding->parser);
free(binding);