From a79e0988174c51b44e9e549d8026e38ad4839e1a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 10 Nov 2012 11:20:31 +0000 Subject: remove redundant domutils and put functionality in existing utils/libdom --- javascript/jsapi/htmldocument.bnd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'javascript/jsapi/htmldocument.bnd') diff --git a/javascript/jsapi/htmldocument.bnd b/javascript/jsapi/htmldocument.bnd index a45489245..80a30bb4e 100644 --- a/javascript/jsapi/htmldocument.bnd +++ b/javascript/jsapi/htmldocument.bnd @@ -13,7 +13,7 @@ preamble %{ #include "utils/config.h" #include "utils/log.h" #include "utils/corestrings.h" -#include "utils/domutils.h" +#include "utils/libdom.h" #include "content/urldb.h" @@ -78,7 +78,7 @@ getter head %{ } if (element != NULL) { - head = find_first_named_dom_element(element, corestring_lwc_head) ; + head = libdom_find_first_element(element, corestring_lwc_head) ; if (head != NULL) { jsret = jsapi_new_HTMLElement(cx, NULL, NULL, (dom_element *)head, private->htmlc); } @@ -100,7 +100,7 @@ getter body %{ } if (element != NULL) { - body = find_first_named_dom_element(element, corestring_lwc_body) ; + body = libdom_find_first_element(element, corestring_lwc_body) ; if (body != NULL) { jsret = jsapi_new_HTMLElement(cx, NULL, NULL, (dom_element *)body, private->htmlc); } -- cgit v1.2.3