summaryrefslogtreecommitdiff
path: root/core/fxge/ge/cttfontdesc.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-10-11 13:21:34 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-11 13:21:34 -0700
commita91b8d395ac8f6aed38cccfda1f38de11dd45bdd (patch)
tree97dc87ed807533cc7599dc8e100746b07dc62456 /core/fxge/ge/cttfontdesc.h
parentf3fbe83a0f6c1dfb05722a6f0a4056c53548fb6e (diff)
downloadpdfium-a91b8d395ac8f6aed38cccfda1f38de11dd45bdd.tar.xz
Deleted unused members in CTTFontDesc
Review-Url: https://codereview.chromium.org/2408213002
Diffstat (limited to 'core/fxge/ge/cttfontdesc.h')
-rw-r--r--core/fxge/ge/cttfontdesc.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/core/fxge/ge/cttfontdesc.h b/core/fxge/ge/cttfontdesc.h
index 8fc2a34e71..d756cb947a 100644
--- a/core/fxge/ge/cttfontdesc.h
+++ b/core/fxge/ge/cttfontdesc.h
@@ -28,15 +28,10 @@ class CTTFontDesc {
int ReleaseFace(FXFT_Face face);
int m_Type;
+
union {
- struct {
- FX_BOOL m_bItalic;
- FX_BOOL m_bBold;
- FXFT_Face m_pFace;
- } m_SingleFace;
- struct {
- FXFT_Face m_pFaces[16];
- } m_TTCFace;
+ FXFT_Face m_SingleFace;
+ FXFT_Face m_TTCFaces[16];
};
uint8_t* m_pFontData;
int m_RefCount;