summaryrefslogtreecommitdiff
path: root/testing/test_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/test_support.h')
-rw-r--r--testing/test_support.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/test_support.h b/testing/test_support.h
index feec4bbe0b..7525c10b36 100644
--- a/testing/test_support.h
+++ b/testing/test_support.h
@@ -13,6 +13,10 @@
#include "public/fpdfview.h"
+#if PDF_ENABLE_XFA
+#include "xfa/fgas/font/cfgas_fontmgr.h"
+#endif // PDF_ENABLE_XFA
+
namespace pdfium {
#define STR_IN_TEST_CASE(input_literal, ...) \
@@ -110,4 +114,8 @@ class TestLoader {
const size_t m_Len;
};
+#if PDF_ENABLE_XFA
+CFGAS_FontMgr* GetGlobalFontManager();
+#endif // PDF_ENABLE_XFA
+
#endif // TESTING_TEST_SUPPORT_H_