Bug 794943 - Remove nsISecurityCheckedComponent IID push from Components.interfaces{,ById}. r=mrbkap

This should have been in bug 951948 bug I missed it.
This commit is contained in:
Bobby Holley 2014-01-16 15:45:39 -08:00
parent ad9a415a6f
commit dec3ddb92e
2 changed files with 2 additions and 5 deletions

View File

@ -21,7 +21,6 @@ template<class E> class nsCOMArray;
class nsCommandManager : public nsICommandManager,
public nsPICommandUpdater,
// public nsISecurityCheckedComponent,
public nsSupportsWeakReference
{

View File

@ -112,7 +112,7 @@ private:
NS_IMETHODIMP
nsXPCComponents_Interfaces::GetInterfaces(uint32_t *aCount, nsIID * **aArray)
{
const uint32_t count = 3;
const uint32_t count = 2;
*aCount = count;
nsIID **array;
*aArray = array = static_cast<nsIID**>(nsMemory::Alloc(count * sizeof(nsIID*)));
@ -130,7 +130,6 @@ nsXPCComponents_Interfaces::GetInterfaces(uint32_t *aCount, nsIID * **aArray)
PUSH_IID(nsIXPCComponents_Interfaces)
PUSH_IID(nsIXPCScriptable)
PUSH_IID(nsISecurityCheckedComponent)
#undef PUSH_IID
return NS_OK;
@ -361,7 +360,7 @@ private:
NS_IMETHODIMP
nsXPCComponents_InterfacesByID::GetInterfaces(uint32_t *aCount, nsIID * **aArray)
{
const uint32_t count = 3;
const uint32_t count = 2;
*aCount = count;
nsIID **array;
*aArray = array = static_cast<nsIID**>(nsMemory::Alloc(count * sizeof(nsIID*)));
@ -379,7 +378,6 @@ nsXPCComponents_InterfacesByID::GetInterfaces(uint32_t *aCount, nsIID * **aArray
PUSH_IID(nsIXPCComponents_InterfacesByID)
PUSH_IID(nsIXPCScriptable)
PUSH_IID(nsISecurityCheckedComponent)
#undef PUSH_IID
return NS_OK;