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
48b445b8
Commit
48b445b8
authored
Feb 09, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Move AddRequest call to OnStartBinding.
parent
2e53ac9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
17 deletions
+9
-17
navigate.c
dlls/mshtml/navigate.c
+8
-0
nsio.c
dlls/mshtml/nsio.c
+1
-17
No files found.
dlls/mshtml/navigate.c
View file @
48b445b8
...
...
@@ -267,6 +267,14 @@ static HRESULT WINAPI BindStatusCallback_OnStartBinding(IBindStatusCallback *ifa
IBinding_AddRef
(
pbind
);
This
->
binding
=
pbind
;
if
(
This
->
nschannel
&&
This
->
nschannel
->
load_group
)
{
nsresult
nsres
=
nsILoadGroup_AddRequest
(
This
->
nschannel
->
load_group
,
(
nsIRequest
*
)
NSCHANNEL
(
This
->
nschannel
),
This
->
nscontext
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"AddRequest failed:%08x
\n
"
,
nsres
);
}
return
S_OK
;
}
...
...
dlls/mshtml/nsio.c
View file @
48b445b8
...
...
@@ -634,16 +634,8 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
container
));
if
(
do_load_from_moniker_hack
(
This
))
{
if
(
This
->
load_group
)
{
nsres
=
nsILoadGroup_AddRequest
(
This
->
load_group
,
(
nsIRequest
*
)
NSCHANNEL
(
This
),
NULL
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"AddRequest failed:%08x
\n
"
,
nsres
);
}
if
(
do_load_from_moniker_hack
(
This
))
return
WINE_NS_LOAD_FROM_MONIKER
;
}
}
else
if
(
container
->
doc
)
{
BOOL
cont
=
before_async_open
(
This
,
container
);
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
container
));
...
...
@@ -726,14 +718,6 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
bscallback
->
nscontext
=
aContext
;
}
if
(
This
->
load_group
)
{
nsres
=
nsILoadGroup_AddRequest
(
This
->
load_group
,
(
nsIRequest
*
)
NSCHANNEL
(
This
),
NULL
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"AddRequest failed:%08x
\n
"
,
nsres
);
}
start_binding
(
bscallback
);
IBindStatusCallback_Release
(
STATUSCLB
(
bscallback
));
...
...
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