What bryner said

This commit is contained in:
cls%seawood.org 2003-10-07 22:07:14 +00:00
parent 7e16563bf1
commit f1c0224f36

View File

@ -497,7 +497,8 @@ xpctestEcho::ThrowArg(void)
return NS_ERROR_FAILURE;
nsCOMPtr<nsISupports> callee;
if(NS_FAILED(cc->GetCallee(getter_AddRefs(callee))) || callee != this)
if(NS_FAILED(cc->GetCallee(getter_AddRefs(callee))) ||
callee != NS_STATIC_CAST(nsIEcho*, this))
return NS_ERROR_FAILURE;
PRUint32 argc;