wrapper->SetData(nsDependentCString(entry->mContractID));
wrapper->SetData(nsDependentCString(entry->mContractID, entry->mContractIDLen));
ConvertContractIDKeyToString(PLDHashTable *table,                             const PLDHashEntryHdr *hdr,                             void *data, nsISupports **retval){    nsresult rv;    nsCOMPtr<nsISupportsCString> wrapper;    nsComponentManagerImpl *cm = NS_STATIC_CAST(nsComponentManagerImpl *, data);    rv = cm->CreateInstanceByContractID(NS_SUPPORTS_CSTRING_CONTRACTID, nsnull,                NS_GET_IID(nsISupportsCString), getter_AddRefs(wrapper));    NS_ENSURE_SUCCESS(rv, rv);    const nsContractIDTableEntry *entry =         NS_REINTERPRET_CAST(const nsContractIDTableEntry *, hdr);    wrapper->SetData(nsDependentCString(entry->mContractID));    *retval = wrapper;    NS_ADDREF(*retval);    return NS_OK;    }