Changeset 61543 in vbox for trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall
- Timestamp:
- Jun 7, 2016 2:41:41 PM (9 years ago)
- Location:
- trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/os2/xptcstubs_gcc_x86_os2.cpp
r3149 r61543 65 65 self->GetInterfaceInfo(&iface_info); 66 66 NS_ASSERTION(iface_info,"no interface info"); 67 if (!iface_info) 68 return NS_ERROR_UNEXPECTED; 67 69 68 70 iface_info->GetMethodInfo(PRUint16(methodIndex), &info); 69 NS_ASSERTION(info,"no interface info"); 70 71 #ifdef VBOX 71 NS_ASSERTION(info,"no method info"); 72 72 if (!info) 73 return result; 74 #endif 73 return NS_ERROR_UNEXPECTED; 75 74 76 75 paramCount = info->GetParamCount(); … … 82 81 dispatchParams = paramBuffer; 83 82 NS_ASSERTION(dispatchParams,"no place for params"); 83 if (!dispatchParams) 84 return NS_ERROR_OUT_OF_MEMORY; 84 85 85 86 PRUint32* ap = args; -
trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_amd64_darwin.cpp
r26163 r61543 67 67 nsXPTCMiniVariant* dispatchParams = NULL; 68 68 nsIInterfaceInfo* iface_info = NULL; 69 const nsXPTMethodInfo* info ;69 const nsXPTMethodInfo* info = NULL; 70 70 PRUint32 paramCount; 71 71 PRUint32 i; -
trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_gcc_x86_unix.cpp
r59107 r61543 67 67 68 68 iface_info->GetMethodInfo(PRUint16(methodIndex), &info); 69 NS_ASSERTION(info,"no interface info"); 70 71 #ifdef VBOX 69 NS_ASSERTION(info,"no method info"); 72 70 if (!info) 73 return result; 74 #endif 71 return NS_ERROR_UNEXPECTED; 75 72 76 73 paramCount = info->GetParamCount(); … … 82 79 dispatchParams = paramBuffer; 83 80 NS_ASSERTION(dispatchParams,"no place for params"); 81 if (!dispatchParams) 82 return NS_ERROR_OUT_OF_MEMORY; 84 83 85 84 PRUint32* ap = args; -
trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp
r24676 r61543 50 50 nsXPTCMiniVariant* dispatchParams = NULL; 51 51 nsIInterfaceInfo* iface_info = NULL; 52 const nsXPTMethodInfo* info ;52 const nsXPTMethodInfo* info = NULL; 53 53 PRUint8 paramCount; 54 54 PRUint8 i; … … 59 59 self->GetInterfaceInfo(&iface_info); 60 60 NS_ASSERTION(iface_info,"no interface info"); 61 if (!iface_info) 62 return NS_ERROR_UNEXPECTED; 61 63 62 64 iface_info->GetMethodInfo(PRUint16(methodIndex), &info); 63 NS_ASSERTION(info,"no interface info"); 65 NS_ASSERTION(info,"no method info"); 66 if (!info) 67 return NS_ERROR_UNEXPECTED; 64 68 65 69 paramCount = info->GetParamCount(); … … 71 75 dispatchParams = paramBuffer; 72 76 NS_ASSERTION(dispatchParams,"no place for params"); 77 if (!dispatchParams) 78 return NS_ERROR_OUT_OF_MEMORY; 73 79 74 80 PRUint32* ap = args; -
trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_64_linux.cpp
r1 r61543 67 67 nsXPTCMiniVariant* dispatchParams = NULL; 68 68 nsIInterfaceInfo* iface_info = NULL; 69 const nsXPTMethodInfo* info ;69 const nsXPTMethodInfo* info = NULL; 70 70 PRUint32 paramCount; 71 71 PRUint32 i; -
trunk/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_solaris.cpp
r61542 r61543 50 50 nsXPTCMiniVariant* dispatchParams = NULL; 51 51 nsIInterfaceInfo* iface_info = NULL; 52 const nsXPTMethodInfo* info ;52 const nsXPTMethodInfo* info = NULL; 53 53 PRUint8 paramCount; 54 54 PRUint8 i;
Note:
See TracChangeset
for help on using the changeset viewer.