~ubuntu-branches/ubuntu/jaunty/xulrunner-1.9/jaunty-updates

« back to all changes in this revision

Viewing changes to mozilla/gfx/thebes/public/gfxFont.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2010-03-31 11:37:11 UTC
  • mfrom: (1.2.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20100331113711-5uw97ffnjmex55j7
Tags: 1.9.0.19+nobinonly-0ubuntu0.9.04.1
* New upstream release v1.9.0.19 (FIREFOX_3_0_19_RELEASE)
  - see USN-920-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1218
1218
            mCharacterGlyphs[aCharIndex] = aGlyph;
1219
1219
        }
1220
1220
        if (mDetailedGlyphs) {
1221
 
            mDetailedGlyphs[aCharIndex] = nsnull;
 
1221
            (mDetailedGlyphs.get())[aCharIndex] = nsnull;
1222
1222
        }
1223
1223
    }
1224
1224
    void SetGlyphs(PRUint32 aCharIndex, CompressedGlyph aGlyph,
1238
1238
    // and gfxFont::GetBoundingBox
1239
1239
    const CompressedGlyph *GetCharacterGlyphs() { return mCharacterGlyphs; }
1240
1240
    const DetailedGlyph *GetDetailedGlyphs(PRUint32 aCharIndex) {
1241
 
        return mDetailedGlyphs ? mDetailedGlyphs[aCharIndex].get() : nsnull;
 
1241
        return mDetailedGlyphs ? (mDetailedGlyphs.get())[aCharIndex].get() : nsnull;
1242
1242
    }
1243
1243
    PRBool HasDetailedGlyphs() { return mDetailedGlyphs.get() != nsnull; }
1244
1244
    PRUint32 CountMissingGlyphs();