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
d8cff0dc
Commit
d8cff0dc
authored
Mar 14, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Access document object via browser object in IOmHistory::get_length.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d95da5f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
omnavigator.c
dlls/mshtml/omnavigator.c
+7
-7
No files found.
dlls/mshtml/omnavigator.c
View file @
d8cff0dc
...
...
@@ -666,16 +666,16 @@ static HRESULT WINAPI OmHistory_Invoke(IOmHistory *iface, DISPID dispIdMember, R
static
HRESULT
WINAPI
OmHistory_get_length
(
IOmHistory
*
iface
,
short
*
p
)
{
OmHistory
*
This
=
impl_from_IOmHistory
(
iface
);
GeckoBrowser
*
browser
=
NULL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
if
(
!
This
->
window
||
!
This
->
window
->
base
.
outer_window
->
doc_obj
||
!
This
->
window
->
base
.
outer_window
->
doc_obj
->
travel_log
)
{
*
p
=
0
;
}
else
{
*
p
=
ITravelLog_CountEntries
(
This
->
window
->
base
.
outer_window
->
doc_obj
->
travel_log
,
This
->
window
->
base
.
outer_window
->
doc_obj
->
browser_service
);
}
if
(
This
->
window
&&
This
->
window
->
base
.
outer_window
)
browser
=
This
->
window
->
base
.
outer_window
->
browser
;
*
p
=
browser
->
doc
->
travel_log
?
ITravelLog_CountEntries
(
browser
->
doc
->
travel_log
,
browser
->
doc
->
browser_service
)
:
0
;
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