change the fake lang string to null to improve performance

This commit is contained in:
ftang%netscape.com 1999-06-08 21:13:06 +00:00
parent 3a0135d848
commit 3cae9693d3

View File

@ -120,7 +120,7 @@ nsUnicodeFontMappingMac* nsFontMetricsMac :: GetUnicodeFontMapping()
// we should pass the documentCharset from the nsIDocument level and
// the lang attribute from the tag level to here.
// XXX hard code to some value till peterl pass them down.
nsAutoString lang("de, zh_TW, ja, fr");
nsAutoString lang("");
nsAutoString documentCharset("ISO-8859-1");
if(! mFontMapping)
mFontMapping = nsUnicodeFontMappingMac::GetCachedInstance(mFont, mContext,documentCharset, lang);