aFontFace.Assign(NS_LITERAL_STRING("Times"));
aFontFace.AssignLiteral("Times");
static void MapGenericFamilyToFont(const nsString& aGenericFamily, nsString& aFontFace, ScriptCode aScriptCode){  // the CSS generic names (conversions from the old Mac Mozilla code for now)  nsUnicodeMappingUtil* unicodeMappingUtil = nsUnicodeMappingUtil::GetSingleton();  if (unicodeMappingUtil)  {    nsString*   foundFont = unicodeMappingUtil->GenericFontNameForScript(          aScriptCode,          unicodeMappingUtil->MapGenericFontNameType(aGenericFamily));    if (foundFont)    {      aFontFace = *foundFont;      return;    }  }    NS_ASSERTION(0, "Failed to find a font");  aFontFace.Assign(NS_LITERAL_STRING("Times"));	  /*  // fall back onto hard-coded font names  if (aGenericFamily.EqualsIgnoreCase("serif"))  {    aFontFace.Assign(NS_LITERAL_STRING("Times"));  }  else if (aGenericFamily.EqualsIgnoreCase("sans-serif"))  {    aFontFace.Assign(NS_LITERAL_STRING("Helvetica"));  }  else if (aGenericFamily.EqualsIgnoreCase("cursive"))  {     aFontFace.Assign(NS_LITERAL_STRING("Apple Chancery"));  }  else if (aGenericFamily.EqualsIgnoreCase("fantasy"))  {    aFontFace.Assign(NS_LITERAL_STRING("Gadget"));  }  else if (aGenericFamily.EqualsIgnoreCase("monospace"))  {    aFontFace.Assign(NS_LITERAL_STRING("Courier"));  }  else if (aGenericFamily.EqualsIgnoreCase("-moz-fixed"))  {    aFontFace.Assign(NS_LITERAL_STRING("Courier"));  }  */}