nsDocLoaderImpl::QueryInterface(REFNSIID aIID, void** aInstancePtr)
nsDocumentBindInfo::QueryInterface(const nsIID& aIID, void** aInstancePtrResult)
nsDocLoaderImpl::QueryInterface(REFNSIID aIID, void** aInstancePtr){    if (NULL == aInstancePtr) {        return NS_ERROR_NULL_POINTER;    }    if (aIID.Equals(kIDocumentLoaderIID)) {        *aInstancePtr = (void*)(nsIDocumentLoader*)this;        NS_ADDREF_THIS();        return NS_OK;    }#ifndef NECKO    if (aIID.Equals(kILoadGroupIID)) {        *aInstancePtr = (void*)(nsILoadGroup*)this;        NS_ADDREF_THIS();        return NS_OK;    }#endif // NECKO    return NS_NOINTERFACE;}