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
e3e0fdd4
Commit
e3e0fdd4
authored
Nov 05, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Keep reference to document node in fire_event_obj.
parent
8086af47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
htmlevent.c
dlls/mshtml/htmlevent.c
+4
-0
No files found.
dlls/mshtml/htmlevent.c
View file @
e3e0fdd4
...
...
@@ -1055,6 +1055,8 @@ static void fire_event_obj(HTMLDocumentNode *doc, eventid_t eid, HTMLEventObj *e
TRACE
(
"(%p) %s
\n
"
,
doc
,
debugstr_w
(
event_info
[
eid
].
name
));
htmldoc_addref
(
&
doc
->
basedoc
);
window
=
doc
->
window
;
prev_event
=
window
->
event
;
window
->
event
=
event_obj
?
&
event_obj
->
IHTMLEventObj_iface
:
NULL
;
...
...
@@ -1155,6 +1157,8 @@ static void fire_event_obj(HTMLDocumentNode *doc, eventid_t eid, HTMLEventObj *e
TRACE
(
"calling PreventDefault
\n
"
);
nsIDOMEvent_PreventDefault
(
event_obj
->
nsevent
);
}
htmldoc_release
(
&
doc
->
basedoc
);
}
void
fire_event
(
HTMLDocumentNode
*
doc
,
eventid_t
eid
,
BOOL
set_event
,
nsIDOMNode
*
target
,
nsIDOMEvent
*
nsevent
,
...
...
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