mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 00:11:44 +00:00
change the fake lang string to null to improve performance
This commit is contained in:
parent
3a0135d848
commit
3cae9693d3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user