Bug 203947 - Creating '@mozilla.org/xmlextras/proxy/webserviceproxy;1' or '@mozilla.org/xmlextras/proxy/webserviceproperty
r=harishd sr=heikki a=sspitzer git-svn-id: svn://10.0.0.236/trunk@142069 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
cc8c8a61e1
commit
78fcd6c046
@ -210,6 +210,10 @@ WSPPropertyBagWrapper::GetInterfaceInfo(nsIInterfaceInfo** info)
|
||||
NS_IMETHODIMP
|
||||
WSPPropertyBagWrapper::GetInterfaces(PRUint32 *count, nsIID * **array)
|
||||
{
|
||||
if (!mIID) {
|
||||
return NS_ERROR_NOT_INITIALIZED;
|
||||
}
|
||||
|
||||
*count = 2;
|
||||
nsIID** iids = NS_STATIC_CAST(nsIID**, nsMemory::Alloc(2 * sizeof(nsIID*)));
|
||||
if (!iids) {
|
||||
|
||||
@ -1225,6 +1225,10 @@ WSPProxy::GetInterfaces(nsIScriptableInterfaces * *aInterfaces)
|
||||
NS_IMETHODIMP
|
||||
WSPProxy::GetInterfaces(PRUint32 *count, nsIID * **array)
|
||||
{
|
||||
if (!mIID) {
|
||||
return NS_ERROR_NOT_INITIALIZED;
|
||||
}
|
||||
|
||||
*count = 2;
|
||||
nsIID** iids = NS_STATIC_CAST(nsIID**, nsMemory::Alloc(2 * sizeof(nsIID*)));
|
||||
if (!iids) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user