if (aSource) { LossyAppendUTF16toASCII(nsDependentString(aSource), aDest); }
PRUint32 old_dest_length = aDest.Length(); aDest.SetLength(old_dest_length + aSource.Length());  nsAString::const_iterator fromBegin, fromEnd;  nsACString::iterator dest; aDest.BeginWriting(dest);  dest.advance(old_dest_length);   LossyConvertEncoding<PRUnichar, char> converter(dest.get());  copy_string(aSource.BeginReading(fromBegin), aSource.EndReading(fromEnd), converter);
LossyAppendUTF16toASCII( const PRUnichar* aSource, nsACString& aDest )  {    if (aSource) {      LossyAppendUTF16toASCII(nsDependentString(aSource), aDest);    }  }