mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-02 14:24:22 +00:00
forcing nsISupports to global scope to resovle ambiguity (VC is very weak)
This commit is contained in:
parent
d3c5cc49f3
commit
6722afc97e
@ -1140,7 +1140,7 @@ nsresult nsPluginInstanceOwner::QueryInterface(const nsIID& aIID,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (aIID.Equals(nsISupports::GetIID()))
|
||||
if (aIID.Equals(::nsISupports::GetIID()))
|
||||
{
|
||||
*aInstancePtrResult = (void *)((nsISupports *)((nsIPluginTagInfo *)this));
|
||||
AddRef();
|
||||
|
@ -1140,7 +1140,7 @@ nsresult nsPluginInstanceOwner::QueryInterface(const nsIID& aIID,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
if (aIID.Equals(nsISupports::GetIID()))
|
||||
if (aIID.Equals(::nsISupports::GetIID()))
|
||||
{
|
||||
*aInstancePtrResult = (void *)((nsISupports *)((nsIPluginTagInfo *)this));
|
||||
AddRef();
|
||||
|
Loading…
Reference in New Issue
Block a user