NS_IMETHOD GetTarget(nsIRDFResource* source, nsIRDFResource* property, PRBool tv, nsIRDFNode** target) { return mInner->GetTarget(source, property, tv, target); }
NS_IMETHODIMP nsWindowMediator::GetTarget(nsIRDFResource* source, nsIRDFResource* property, PRBool tv, nsIRDFNode** target) { if (property == kNC_KeyIndex) { nsCOMPtr<nsIRDFContainer> container; nsresult rv = NS_NewMediatorListRDFContainer(mInner, kNC_WindowMediatorRoot, getter_AddRefs(container)); if (NS_FAILED(rv)) return(rv); if (!container) return(NS_ERROR_FAILURE);  PRInt32   theIndex = 0; rv = container->IndexOf(source, &theIndex); if (NS_FAILED(rv)) return(rv);   if (theIndex < 1 || theIndex > 9) return(NS_RDF_NO_VALUE);  nsCOMPtr<nsIRDFInt> indexInt; rv = gRDFService->GetIntLiteral(theIndex, getter_AddRefs(indexInt)); if (NS_FAILED(rv)) return(rv); if (!indexInt) return(NS_ERROR_FAILURE);  return(CallQueryInterface(indexInt, target)); } return mInner->GetTarget(source, property, tv, target); }
  NS_IMETHOD GetTarget(nsIRDFResource* source,                       nsIRDFResource* property,                       PRBool tv,                       nsIRDFNode** target) {   return mInner->GetTarget(source, property, tv, target); }