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
bbd4a634
Commit
bbd4a634
authored
Dec 18, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added nsIChannel::[Get|Set]Owner implementation.
parent
d356d152
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
nsio.c
dlls/mshtml/nsio.c
+12
-4
No files found.
dlls/mshtml/mshtml_private.h
View file @
bbd4a634
...
...
@@ -348,6 +348,7 @@ typedef struct {
nsIInputStream
*
post_data_stream
;
nsILoadGroup
*
load_group
;
nsIInterfaceRequestor
*
notif_callback
;
nsISupports
*
owner
;
nsLoadFlags
load_flags
;
nsIURI
*
original_uri
;
char
*
content_type
;
...
...
dlls/mshtml/nsio.c
View file @
bbd4a634
...
...
@@ -417,8 +417,11 @@ static nsresult NSAPI nsChannel_GetOwner(nsIHttpChannel *iface, nsISupports **aO
if
(
This
->
channel
)
return
nsIChannel_GetOwner
(
This
->
channel
,
aOwner
);
FIXME
(
"default action not implemented
\n
"
);
return
NS_ERROR_NOT_IMPLEMENTED
;
if
(
This
->
owner
)
nsISupports_AddRef
(
This
->
owner
);
*
aOwner
=
This
->
owner
;
return
NS_OK
;
}
static
nsresult
NSAPI
nsChannel_SetOwner
(
nsIHttpChannel
*
iface
,
nsISupports
*
aOwner
)
...
...
@@ -430,8 +433,13 @@ static nsresult NSAPI nsChannel_SetOwner(nsIHttpChannel *iface, nsISupports *aOw
if
(
This
->
channel
)
return
nsIChannel_SetOwner
(
This
->
channel
,
aOwner
);
FIXME
(
"default action not implemented
\n
"
);
return
NS_ERROR_NOT_IMPLEMENTED
;
if
(
aOwner
)
nsISupports_AddRef
(
aOwner
);
if
(
This
->
owner
)
nsISupports_Release
(
This
->
owner
);
This
->
owner
=
aOwner
;
return
NS_OK
;
}
static
nsresult
NSAPI
nsChannel_GetNotificationCallbacks
(
nsIHttpChannel
*
iface
,
...
...
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