forcing nsISupports to global scope to resovle ambiguity (VC is very weak)

This commit is contained in:
beard%netscape.com 1999-03-13 00:12:13 +00:00
parent d3c5cc49f3
commit 6722afc97e
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();