From fe73e7849b8b4ce49408d2f52f3fc29b370b82b5 Mon Sep 17 00:00:00 2001 From: Jun Fang Date: Tue, 19 Jan 2016 17:13:50 -0800 Subject: Fix an assertion failure in CXFA_FWLTheme::Initialize() BUG=pdfium:350 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1608593003 . --- core/include/fxge/fx_font.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/include') diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h index 954824e728..f2db4a1dc0 100644 --- a/core/include/fxge/fx_font.h +++ b/core/include/fxge/fx_font.h @@ -325,6 +325,8 @@ class CFX_FontMapper { int italic_angle); #endif // PDF_ENABLE_XFA FX_BOOL IsBuiltinFace(const FXFT_Face face) const; + int GetFaceSize() const { return m_FaceArray.GetSize(); } + CFX_ByteString GetFaceName(int index) const { return m_FaceArray[index]; } private: static const size_t MM_FACE_COUNT = 2; -- cgit v1.2.3