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
19992377
Commit
19992377
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 HTMLPerformance object with compat mode.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
000321b2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
htmlwindow.c
dlls/mshtml/htmlwindow.c
+1
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-1
omnavigator.c
dlls/mshtml/omnavigator.c
+3
-3
No files found.
dlls/mshtml/htmlwindow.c
View file @
19992377
...
...
@@ -2398,7 +2398,7 @@ static HRESULT WINAPI HTMLWindow7_get_performance(IHTMLWindow7 *iface, VARIANT *
if
(
!
This
->
performance_initialized
)
{
IHTMLPerformance
*
performance
;
hres
=
create_performance
(
&
performance
);
hres
=
create_performance
(
dispex_compat_mode
(
&
This
->
event_target
.
dispex
),
&
performance
);
if
(
FAILED
(
hres
))
return
hres
;
...
...
dlls/mshtml/mshtml_private.h
View file @
19992377
...
...
@@ -913,7 +913,7 @@ HRESULT HTMLXMLHttpRequestFactory_Create(HTMLInnerWindow*,HTMLXMLHttpRequestFact
HRESULT
HTMLLocation_Create
(
HTMLInnerWindow
*
,
HTMLLocation
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_navigator
(
compat_mode_t
,
IOmNavigator
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_html_screen
(
compat_mode_t
,
IHTMLScreen
**
)
DECLSPEC_HIDDEN
;
HRESULT
create_performance
(
IHTMLPerformance
**
)
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_dom_implementation
(
HTMLDocumentNode
*
,
IHTMLDOMImplementation
**
)
DECLSPEC_HIDDEN
;
...
...
dlls/mshtml/omnavigator.c
View file @
19992377
...
...
@@ -2172,7 +2172,7 @@ static dispex_static_data_t HTMLPerformance_dispex = {
HTMLPerformance_iface_tids
};
HRESULT
create_performance
(
IHTMLPerformance
**
ret
)
HRESULT
create_performance
(
compat_mode_t
compat_mode
,
IHTMLPerformance
**
ret
)
{
HTMLPerformance
*
performance
;
...
...
@@ -2183,8 +2183,8 @@ HRESULT create_performance(IHTMLPerformance **ret)
performance
->
IHTMLPerformance_iface
.
lpVtbl
=
&
HTMLPerformanceVtbl
;
performance
->
ref
=
1
;
init_dispex
(
&
performance
->
dispex
,
(
IUnknown
*
)
&
performance
->
IHTMLPerformance_iface
,
&
HTMLPerformance_dispex
);
init_dispex
_with_compat_mode
(
&
performance
->
dispex
,
(
IUnknown
*
)
&
performance
->
IHTMLPerformance_iface
,
&
HTMLPerformance_dispex
,
compat_mode
);
*
ret
=
&
performance
->
IHTMLPerformance_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