Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
ae4809c7
Commit
ae4809c7
authored
Feb 19, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Get rid of no longer needed document argument from create_all_list.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dfc13245
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
htmlelemcol.c
dlls/mshtml/htmlelemcol.c
+4
-4
No files found.
dlls/mshtml/htmlelemcol.c
View file @
ae4809c7
...
...
@@ -626,7 +626,7 @@ static dispex_static_data_t HTMLElementCollection_dispex = {
HTMLElementCollection_iface_tids
};
static
void
create_all_list
(
HTMLD
ocumentNode
*
doc
,
HTMLD
OMNode
*
elem
,
elem_vector_t
*
buf
)
static
void
create_all_list
(
HTMLDOMNode
*
elem
,
elem_vector_t
*
buf
)
{
nsIDOMNodeList
*
nsnode_list
;
nsIDOMNode
*
iter
;
...
...
@@ -661,7 +661,7 @@ static void create_all_list(HTMLDocumentNode *doc, HTMLDOMNode *elem, elem_vecto
}
elem_vector_add
(
buf
,
elem_from_HTMLDOMNode
(
node
));
create_all_list
(
doc
,
node
,
buf
);
create_all_list
(
node
,
buf
);
}
}
}
...
...
@@ -676,7 +676,7 @@ IHTMLElementCollection *create_all_collection(HTMLDOMNode *node, BOOL include_ro
node_addref
(
node
);
elem_vector_add
(
&
buf
,
elem_from_HTMLDOMNode
(
node
));
}
create_all_list
(
node
->
doc
,
node
,
&
buf
);
create_all_list
(
node
,
&
buf
);
elem_vector_normalize
(
&
buf
);
return
HTMLElementCollection_Create
(
buf
.
buf
,
buf
.
len
,
...
...
@@ -805,7 +805,7 @@ HRESULT get_elem_source_index(HTMLElement *elem, LONG *ret)
return
E_OUTOFMEMORY
;
}
create_all_list
(
elem
->
node
.
doc
,
node
,
&
buf
);
create_all_list
(
node
,
&
buf
);
for
(
i
=
0
;
i
<
buf
.
len
;
i
++
)
{
if
(
buf
.
buf
[
i
]
==
elem
)
...
...
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