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
2dd9fad6
Commit
2dd9fad6
authored
May 11, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
May 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Move AddRequest call to the separated function.
parent
94a264d0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
navigate.c
dlls/mshtml/navigate.c
+12
-7
No files found.
dlls/mshtml/navigate.c
View file @
2dd9fad6
...
...
@@ -237,6 +237,17 @@ static HRESULT read_stream_data(BSCallback *This, IStream *stream)
return
S_OK
;
}
static
void
add_nsrequest
(
BSCallback
*
This
)
{
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
);
}
}
#define STATUSCLB_THIS(iface) DEFINE_THIS(BSCallback, BindStatusCallback, iface)
static
HRESULT
WINAPI
BindStatusCallback_QueryInterface
(
IBindStatusCallback
*
iface
,
...
...
@@ -323,13 +334,7 @@ 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
);
}
add_nsrequest
(
This
);
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