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
aa96a8de
Commit
aa96a8de
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 update_window_doc.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f75d1e68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
htmlwindow.c
dlls/mshtml/htmlwindow.c
+5
-4
No files found.
dlls/mshtml/htmlwindow.c
View file @
aa96a8de
...
...
@@ -3672,10 +3672,11 @@ HRESULT update_window_doc(HTMLInnerWindow *window)
outer_window
->
base
.
inner_window
=
window
;
outer_window
->
pending_window
=
NULL
;
if
(
outer_window
->
doc_obj
->
basedoc
.
window
==
outer_window
||
!
outer_window
->
doc_obj
->
basedoc
.
window
)
{
if
(
outer_window
->
doc_obj
->
basedoc
.
doc_node
)
htmldoc_release
(
&
outer_window
->
doc_obj
->
basedoc
.
doc_node
->
basedoc
);
outer_window
->
doc_obj
->
basedoc
.
doc_node
=
window
->
doc
;
if
(
is_main_content_window
(
outer_window
)
||
!
outer_window
->
browser
->
content_window
)
{
HTMLDocumentObj
*
doc_obj
=
outer_window
->
browser
->
doc
;
if
(
doc_obj
->
basedoc
.
doc_node
)
htmldoc_release
(
&
doc_obj
->
basedoc
.
doc_node
->
basedoc
);
doc_obj
->
basedoc
.
doc_node
=
window
->
doc
;
htmldoc_addref
(
&
window
->
doc
->
basedoc
);
}
...
...
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