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
51e348e9
Commit
51e348e9
authored
Mar 15, 2021
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Initialize HTMLNamespaceCollection object with compat mode.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
974a215d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
htmldoc.c
dlls/mshtml/htmldoc.c
+2
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-1
omnavigator.c
dlls/mshtml/omnavigator.c
+3
-2
No files found.
dlls/mshtml/htmldoc.c
View file @
51e348e9
...
...
@@ -2637,7 +2637,8 @@ static HRESULT WINAPI HTMLDocument4_get_namespaces(IHTMLDocument4 *iface, IDispa
if
(
!
This
->
doc_node
->
namespaces
)
{
HRESULT
hres
;
hres
=
create_namespace_collection
(
&
This
->
doc_node
->
namespaces
);
hres
=
create_namespace_collection
(
dispex_compat_mode
(
&
This
->
doc_node
->
node
.
event_target
.
dispex
),
&
This
->
doc_node
->
namespaces
);
if
(
FAILED
(
hres
))
return
hres
;
}
...
...
dlls/mshtml/mshtml_private.h
View file @
51e348e9
...
...
@@ -915,7 +915,7 @@ HRESULT create_navigator(compat_mode_t,IOmNavigator**) DECLSPEC_HIDDEN;
HRESULT
create_html_screen
(
compat_mode_t
,
IHTMLScreen
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_performance
(
compat_mode_t
,
IHTMLPerformance
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_history
(
HTMLInnerWindow
*
,
OmHistory
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_namespace_collection
(
IHTMLNamespaceCollection
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_namespace_collection
(
compat_mode_t
,
IHTMLNamespaceCollection
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_dom_implementation
(
HTMLDocumentNode
*
,
IHTMLDOMImplementation
**
)
DECLSPEC_HIDDEN
;
void
detach_dom_implementation
(
IHTMLDOMImplementation
*
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/omnavigator.c
View file @
51e348e9
...
...
@@ -2330,7 +2330,7 @@ static dispex_static_data_t HTMLNamespaceCollection_dispex = {
HTMLNamespaceCollection_iface_tids
};
HRESULT
create_namespace_collection
(
IHTMLNamespaceCollection
**
ret
)
HRESULT
create_namespace_collection
(
compat_mode_t
compat_mode
,
IHTMLNamespaceCollection
**
ret
)
{
HTMLNamespaceCollection
*
namespaces
;
...
...
@@ -2339,7 +2339,8 @@ HRESULT create_namespace_collection(IHTMLNamespaceCollection **ret)
namespaces
->
IHTMLNamespaceCollection_iface
.
lpVtbl
=
&
HTMLNamespaceCollectionVtbl
;
namespaces
->
ref
=
1
;
init_dispex
(
&
namespaces
->
dispex
,
(
IUnknown
*
)
&
namespaces
->
IHTMLNamespaceCollection_iface
,
&
HTMLNamespaceCollection_dispex
);
init_dispex_with_compat_mode
(
&
namespaces
->
dispex
,
(
IUnknown
*
)
&
namespaces
->
IHTMLNamespaceCollection_iface
,
&
HTMLNamespaceCollection_dispex
,
compat_mode
);
*
ret
=
&
namespaces
->
IHTMLNamespaceCollection_iface
;
return
S_OK
;
}
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