fontType = ToNewUTF8String(nsDependentString(aFontType));
fontType.Adopt(ToNewUTF8String(nsDependentString(aFontType)));
nsFontListEnumerator::Init(const PRUnichar *aLangGroup,                            const PRUnichar *aFontType){  nsresult rv;  nsCOMPtr<nsIFontEnumerator> fontEnumerator;  fontEnumerator = do_CreateInstance(kCFontEnumerator, &rv);  if (NS_FAILED(rv))    return rv;   nsXPIDLCString langGroup;  langGroup = ToNewUTF8String(nsDependentString(aLangGroup));  nsXPIDLCString fontType;  fontType = ToNewUTF8String(nsDependentString(aFontType));  rv = fontEnumerator->EnumerateFonts(langGroup.get(), fontType.get(),                                         &mCount, &mFonts);  return rv;}