From ca2566cbd69530e91f80b763beef011481d6cf94 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 5 Feb 2012 14:33:17 +0000 Subject: A bunch of panel beating: * HTMLElement and HTMLDocument now have vtables * All HTML nodes require an HTMLDocument to create * Miscellaneous other cleanups svn path=/trunk/libdom/; revision=13424 --- src/html/html_collection.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/html/html_collection.c') diff --git a/src/html/html_collection.c b/src/html/html_collection.c index 03ac6ae..ec96e66 100644 --- a/src/html/html_collection.c +++ b/src/html/html_collection.c @@ -13,7 +13,6 @@ #include "html/html_collection.h" #include "core/node.h" -#include "core/document.h" #include "core/element.h" #include "core/string.h" @@ -30,7 +29,7 @@ * \param col The result collection object * \return DOM_NO_ERR on success, appropriate dom_exception on failure. */ -dom_exception _dom_html_collection_create(struct dom_document *doc, +dom_exception _dom_html_collection_create(struct dom_html_document *doc, struct dom_node_internal *root, dom_callback_is_in_collection ic, struct dom_html_collection **col) @@ -52,7 +51,7 @@ dom_exception _dom_html_collection_create(struct dom_document *doc, * belongs to the collection * \return DOM_NO_ERR on success. */ -dom_exception _dom_html_collection_initialise(struct dom_document *doc, +dom_exception _dom_html_collection_initialise(struct dom_html_document *doc, struct dom_html_collection *col, struct dom_node_internal *root, dom_callback_is_in_collection ic) -- cgit v1.2.3