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
f878c998
Commit
f878c998
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: Share nselem reference with nsnode.
parent
8c396ed4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
htmlelem.c
dlls/mshtml/htmlelem.c
+7
-6
No files found.
dlls/mshtml/htmlelem.c
View file @
f878c998
...
...
@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include <assert.h>
#define COBJMACROS
...
...
@@ -1772,13 +1772,14 @@ void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElemen
init_dispex
(
&
This
->
node
.
dispex
,
(
IUnknown
*
)
&
This
->
IHTMLElement_iface
,
dispex_data
?
dispex_data
:
&
HTMLElement_dispex
);
if
(
nselem
)
nsIDOMHTMLElement_AddRef
(
nselem
);
This
->
nselem
=
nselem
;
if
(
nselem
)
if
(
nselem
)
{
HTMLDOMNode_Init
(
doc
,
&
This
->
node
,
(
nsIDOMNode
*
)
nselem
);
/* No AddRef, share reference with HTMLDOMNode */
assert
((
nsIDOMNode
*
)
nselem
==
This
->
node
.
nsnode
);
This
->
nselem
=
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