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
9545da64
Commit
9545da64
authored
Aug 26, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Remove no longer used create_nsstream.
parent
9227947a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
43 deletions
+0
-43
nsembed.c
dlls/mshtml/nsembed.c
+0
-30
nsiface.idl
dlls/mshtml/nsiface.idl
+0
-13
No files found.
dlls/mshtml/nsembed.c
View file @
9545da64
...
...
@@ -38,14 +38,10 @@ WINE_DECLARE_DEBUG_CHANNEL(gecko);
#define NS_APPSTARTUPNOTIFIER_CONTRACTID "@mozilla.org/embedcomp/appstartup-notifier;1"
#define NS_WEBBROWSER_CONTRACTID "@mozilla.org/embedding/browser/nsWebBrowser;1"
#define NS_PROFILE_CONTRACTID "@mozilla.org/profile/manager;1"
#define NS_MEMORY_CONTRACTID "@mozilla.org/xpcom/memory-service;1"
#define NS_STRINGSTREAM_CONTRACTID "@mozilla.org/io/string-input-stream;1"
#define NS_COMMANDPARAMS_CONTRACTID "@mozilla.org/embedcomp/command-params;1"
#define NS_HTMLSERIALIZER_CONTRACTID "@mozilla.org/layout/contentserializer;1?mimetype=text/html"
#define NS_EDITORCONTROLLER_CONTRACTID "@mozilla.org/editor/editorcontroller;1"
#define NS_ARRAY_CONTRACTID "@mozilla.org/array;1"
#define NS_VARIANT_CONTRACTID "@mozilla.org/variant;1"
#define NS_PREFERENCES_CONTRACTID "@mozilla.org/preferences;1"
#define APPSTARTUP_TOPIC "app-startup"
...
...
@@ -581,32 +577,6 @@ void nsAString_Finish(nsAString *str)
NS_StringContainerFinish
(
str
);
}
nsIInputStream
*
create_nsstream
(
const
char
*
data
,
PRInt32
data_len
)
{
nsIStringInputStream
*
ret
;
nsresult
nsres
;
if
(
!
pCompMgr
)
return
NULL
;
nsres
=
nsIComponentManager_CreateInstanceByContractID
(
pCompMgr
,
NS_STRINGSTREAM_CONTRACTID
,
NULL
,
&
IID_nsIStringInputStream
,
(
void
**
)
&
ret
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Could not get nsIStringInputStream
\n
"
);
return
NULL
;
}
nsres
=
nsIStringInputStream_SetData
(
ret
,
data
,
data_len
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"AdoptData failed: %08x
\n
"
,
nsres
);
nsIStringInputStream_Release
(
ret
);
return
NULL
;
}
return
(
nsIInputStream
*
)
ret
;
}
nsICommandParams
*
create_nscommand_params
(
void
)
{
nsICommandParams
*
ret
=
NULL
;
...
...
dlls/mshtml/nsiface.idl
View file @
9545da64
...
...
@@ -286,19 +286,6 @@ interface nsIInputStream : nsISupports
[
object,
uuid(450cd2d4-f0fd-424d-b365-b1251f80fd53),
local
/* NOT_FROZEN */
]
interface nsIStringInputStream : nsIInputStream
{
nsresult SetData(const char *data, PRInt32 dataLen);
nsresult AdoptData(char *data, PRInt32 dataLen);
nsresult ShareData(const char *data, PRInt32 dataLen);
}
[
object,
uuid(07a22cc0-0ce5-11d3-9331-00104ba0fd40),
local
/* FROZEN */
...
...
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