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
f792ada4
Commit
f792ada4
authored
Mar 23, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't access BSCallback directly in nsio.c.
parent
2870f21d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
20 deletions
+18
-20
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-0
navigate.c
dlls/mshtml/navigate.c
+14
-0
nsio.c
dlls/mshtml/nsio.c
+2
-20
No files found.
dlls/mshtml/mshtml_private.h
View file @
f792ada4
...
...
@@ -434,6 +434,8 @@ HRESULT load_stream(BSCallback*,IStream*);
void
set_document_bscallback
(
HTMLDocument
*
,
BSCallback
*
);
void
set_current_mon
(
HTMLDocument
*
,
IMoniker
*
);
void
channelbsc_set_channel
(
BSCallback
*
,
nsChannel
*
,
nsIStreamListener
*
,
nsISupports
*
);
IHTMLSelectionObject
*
HTMLSelectionObject_Create
(
HTMLDocument
*
,
nsISelection
*
);
IHTMLTxtRange
*
HTMLTxtRange_Create
(
HTMLDocument
*
,
nsIDOMRange
*
);
IHTMLStyle
*
HTMLStyle_Create
(
nsIDOMCSSStyleDeclaration
*
);
...
...
dlls/mshtml/navigate.c
View file @
f792ada4
...
...
@@ -908,3 +908,17 @@ HRESULT load_stream(BSCallback *bscallback, IStream *stream)
return
hres
;
}
void
channelbsc_set_channel
(
BSCallback
*
This
,
nsChannel
*
channel
,
nsIStreamListener
*
listener
,
nsISupports
*
context
)
{
nsIChannel_AddRef
(
NSCHANNEL
(
channel
));
This
->
nschannel
=
channel
;
nsIStreamListener_AddRef
(
listener
);
This
->
nslistener
=
listener
;
if
(
context
)
{
nsISupports_AddRef
(
context
);
This
->
nscontext
=
context
;
}
}
dlls/mshtml/nsio.c
View file @
f792ada4
...
...
@@ -685,16 +685,7 @@ static nsresult async_open_doc_uri(nsChannel *This, NSContainer *container,
*
open
=
FALSE
;
if
(
container
->
bscallback
)
{
nsIChannel_AddRef
(
NSCHANNEL
(
This
));
container
->
bscallback
->
nschannel
=
This
;
nsIStreamListener_AddRef
(
listener
);
container
->
bscallback
->
nslistener
=
listener
;
if
(
context
)
{
nsISupports_AddRef
(
context
);
container
->
bscallback
->
nscontext
=
context
;
}
channelbsc_set_channel
(
container
->
bscallback
,
This
,
listener
,
context
);
if
(
container
->
doc
&&
container
->
doc
->
mime
)
{
DWORD
len
;
...
...
@@ -781,16 +772,7 @@ static nsresult async_open(nsChannel *This, NSContainer *container, nsIStreamLis
bscallback
=
create_bscallback
(
mon
);
IMoniker_Release
(
mon
);
nsIChannel_AddRef
(
NSCHANNEL
(
This
));
bscallback
->
nschannel
=
This
;
nsIStreamListener_AddRef
(
listener
);
bscallback
->
nslistener
=
listener
;
if
(
context
)
{
nsISupports_AddRef
(
context
);
bscallback
->
nscontext
=
context
;
}
channelbsc_set_channel
(
bscallback
,
This
,
listener
,
context
);
task
=
heap_alloc
(
sizeof
(
task_t
));
...
...
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