Jacek Caban : mshtml: Get rid of node_type variable in HTMLNode object.
Alexandre Julliard
julliard at winehq.org
Wed Sep 19 08:16:23 CDT 2007
Module: wine
Branch: master
Commit: 4b2b441e5b0c5df26353ac4a673d4c7c4fe44e20
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b2b441e5b0c5df26353ac4a673d4c7c4fe44e20
Author: Jacek Caban <jacek at codeweavers.com>
Date: Wed Sep 19 12:40:15 2007 +0200
mshtml: Get rid of node_type variable in HTMLNode object.
---
dlls/mshtml/htmlelem.c | 1 -
dlls/mshtml/htmlnode.c | 1 -
dlls/mshtml/mshtml_private.h | 5 -----
3 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c
index 0e77b9f..3334763 100644
--- a/dlls/mshtml/htmlelem.c
+++ b/dlls/mshtml/htmlelem.c
@@ -1318,7 +1318,6 @@ HTMLElement *HTMLElement_Create(nsIDOMNode *nsnode)
HTMLElement2_Init(ret);
- ret->node.node_type = NT_HTMLELEM;
ret->node.impl.elem = HTMLELEM(ret);
ret->node.destructor = HTMLElement_destructor;
diff --git a/dlls/mshtml/htmlnode.c b/dlls/mshtml/htmlnode.c
index de7a4ee..62f650b 100644
--- a/dlls/mshtml/htmlnode.c
+++ b/dlls/mshtml/htmlnode.c
@@ -348,7 +348,6 @@ static HTMLDOMNode *create_node(HTMLDocument *doc, nsIDOMNode *nsnode)
break;
default:
ret = mshtml_alloc(sizeof(HTMLDOMNode));
- ret->node_type = NT_UNKNOWN;
ret->impl.unk = NULL;
ret->destructor = NULL;
}
diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h
index 408dc52..e560ef1 100644
--- a/dlls/mshtml/mshtml_private.h
+++ b/dlls/mshtml/mshtml_private.h
@@ -254,11 +254,6 @@ struct HTMLDOMNode {
void (*destructor)(IUnknown*);
- enum {
- NT_UNKNOWN,
- NT_HTMLELEM
- } node_type;
-
union {
IUnknown *unk;
IHTMLElement *elem;
More information about the wine-cvs
mailing list