mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
ad9a415a6f
commit
dec3ddb92e
@ -21,7 +21,6 @@ template<class E> class nsCOMArray;
|
||||
|
||||
class nsCommandManager : public nsICommandManager,
|
||||
public nsPICommandUpdater,
|
||||
// public nsISecurityCheckedComponent,
|
||||
public nsSupportsWeakReference
|
||||
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user