Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
8c396ed4
Commit
8c396ed4
authored
Jun 26, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Call HTMLDOMNode_Init directly in HTMLCommentElement_Create.
parent
cf35bbd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
htmlcomment.c
dlls/mshtml/htmlcomment.c
+1
-3
htmlelem.c
dlls/mshtml/htmlelem.c
+2
-1
No files found.
dlls/mshtml/htmlcomment.c
View file @
8c396ed4
...
...
@@ -200,9 +200,7 @@ HRESULT HTMLCommentElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, HTM
ret
->
IHTMLCommentElement_iface
.
lpVtbl
=
&
HTMLCommentElementVtbl
;
HTMLElement_Init
(
&
ret
->
element
,
doc
,
NULL
,
&
HTMLCommentElement_dispex
);
nsIDOMNode_AddRef
(
nsnode
);
ret
->
element
.
node
.
nsnode
=
nsnode
;
HTMLDOMNode_Init
(
doc
,
&
ret
->
element
.
node
,
nsnode
);
*
elem
=
&
ret
->
element
;
return
S_OK
;
...
...
dlls/mshtml/htmlelem.c
View file @
8c396ed4
...
...
@@ -1776,7 +1776,8 @@ void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElemen
nsIDOMHTMLElement_AddRef
(
nselem
);
This
->
nselem
=
nselem
;
HTMLDOMNode_Init
(
doc
,
&
This
->
node
,
(
nsIDOMNode
*
)
nselem
);
if
(
nselem
)
HTMLDOMNode_Init
(
doc
,
&
This
->
node
,
(
nsIDOMNode
*
)
nselem
);
ConnectionPointContainer_Init
(
&
This
->
cp_container
,
(
IUnknown
*
)
&
This
->
IHTMLElement_iface
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment