Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
76d8d022
Commit
76d8d022
authored
Jun 22, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Inherit NSContainer in NewURI.
parent
7ceaf5b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
nsio.c
dlls/mshtml/nsio.c
+19
-1
No files found.
dlls/mshtml/nsio.c
View file @
76d8d022
...
@@ -1377,6 +1377,7 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
...
@@ -1377,6 +1377,7 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
const
char
*
aOriginCharset
,
nsIURI
*
aBaseURI
,
nsIURI
**
_retval
)
const
char
*
aOriginCharset
,
nsIURI
*
aBaseURI
,
nsIURI
**
_retval
)
{
{
const
char
*
spec
=
NULL
;
const
char
*
spec
=
NULL
;
NSContainer
*
nscontainer
=
NULL
;
nsIURI
*
uri
;
nsIURI
*
uri
;
PRBool
is_javascript
=
FALSE
;
PRBool
is_javascript
=
FALSE
;
nsresult
nsres
;
nsresult
nsres
;
...
@@ -1416,7 +1417,24 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
...
@@ -1416,7 +1417,24 @@ static nsresult NSAPI nsIOService_NewURI(nsIIOService *iface, const nsACString *
return
NS_OK
;
return
NS_OK
;
}
}
return
create_uri
(
uri
,
NULL
,
_retval
);
if
(
aBaseURI
)
{
nsIWineURI
*
wine_uri
;
nsres
=
nsIURI_QueryInterface
(
aBaseURI
,
&
IID_nsIWineURI
,
(
void
**
)
&
wine_uri
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsIWineURI_GetNSContainer
(
wine_uri
,
&
nscontainer
);
nsIWineURI_Release
(
wine_uri
);
}
else
{
ERR
(
"Could not get nsIWineURI: %08lx
\n
"
,
nsres
);
}
}
nsres
=
create_uri
(
uri
,
nscontainer
,
_retval
);
if
(
nscontainer
)
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
nscontainer
));
return
nsres
;
}
}
static
nsresult
NSAPI
nsIOService_NewFileURI
(
nsIIOService
*
iface
,
nsIFile
*
aFile
,
static
nsresult
NSAPI
nsIOService_NewFileURI
(
nsIIOService
*
iface
,
nsIFile
*
aFile
,
...
...
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