atsuiLayoutCacheKey k = {aFont, aSize, aColor, (aBold ? 1 : 0) + (aItalic ? 2 : 0) }; return Set(&k, aTxlayout);
atsuiLayoutCacheKey *newKey = new atsuiLayoutCacheKey; if (newKey) { *newKey = *key; PL_HashTableAdd(mTable, newKey, txlayout); mCount ++; }
void ATSUILayoutCache::Set(short aFont, short aSize, PRBool aBold, PRBool aItalic, nscolor aColor, ATSUTextLayout aTxlayout){	atsuiLayoutCacheKey k = {aFont, aSize, aColor, (aBold ? 1 : 0) + (aItalic ? 2 : 0) };	return Set(&k, aTxlayout);}