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
deee158c
Commit
deee158c
authored
Nov 23, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Removed no longer needed flush_pending_tasks.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1ae40d91
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
22 deletions
+0
-22
mshtml_private.h
dlls/mshtml/mshtml_private.h
+0
-1
nsevents.c
dlls/mshtml/nsevents.c
+0
-2
task.c
dlls/mshtml/task.c
+0
-19
No files found.
dlls/mshtml/mshtml_private.h
View file @
deee158c
...
...
@@ -1144,7 +1144,6 @@ HWND get_thread_hwnd(void) DECLSPEC_HIDDEN;
LONG
get_task_target_magic
(
void
)
DECLSPEC_HIDDEN
;
HRESULT
push_task
(
task_t
*
,
task_proc_t
,
task_proc_t
,
LONG
)
DECLSPEC_HIDDEN
;
void
remove_target_tasks
(
LONG
)
DECLSPEC_HIDDEN
;
void
flush_pending_tasks
(
LONG
)
DECLSPEC_HIDDEN
;
HRESULT
set_task_timer
(
HTMLInnerWindow
*
,
LONG
,
BOOL
,
IDispatch
*
,
LONG
*
)
DECLSPEC_HIDDEN
;
HRESULT
clear_task_timer
(
HTMLInnerWindow
*
,
DWORD
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/nsevents.c
View file @
deee158c
...
...
@@ -270,8 +270,6 @@ static nsresult NSAPI handle_load(nsIDOMEventListener *iface, nsIDOMEvent *event
DOMEvent
*
load_event
;
HRESULT
hres
;
flush_pending_tasks
(
doc
->
basedoc
.
task_magic
);
hres
=
create_document_event
(
doc
,
EVENTID_LOAD
,
&
load_event
);
if
(
SUCCEEDED
(
hres
))
{
dispatch_event
(
&
doc
->
node
.
event_target
,
load_event
);
...
...
dlls/mshtml/task.c
View file @
deee158c
...
...
@@ -102,25 +102,6 @@ static void release_task_timer(HWND thread_hwnd, task_timer_t *timer)
heap_free
(
timer
);
}
void
flush_pending_tasks
(
LONG
target
)
{
thread_data_t
*
thread_data
=
get_thread_data
(
FALSE
);
struct
list
*
liter
,
*
ltmp
;
task_t
*
task
;
if
(
!
thread_data
)
return
;
LIST_FOR_EACH_SAFE
(
liter
,
ltmp
,
&
thread_data
->
task_list
)
{
task
=
LIST_ENTRY
(
liter
,
task_t
,
entry
);
if
(
task
->
target_magic
==
target
)
{
list_remove
(
&
task
->
entry
);
task
->
proc
(
task
);
task
->
destr
(
task
);
}
}
}
void
remove_target_tasks
(
LONG
target
)
{
thread_data_t
*
thread_data
=
get_thread_data
(
FALSE
);
...
...
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