diff options
author | dan sinclair <dsinclair@chromium.org> | 2018-02-19 15:33:13 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-19 15:33:13 +0000 |
commit | 916b4b05ce7b4dd5a254a72a1d98051655627dbc (patch) | |
tree | 68a8de3867a4a0e766d3cc33bfd96071950b54b6 /xfa/fxfa/cxfa_ffapp.h | |
parent | 03632fb7fd1f6924f464708155ed0338d46f9862 (diff) | |
download | pdfium-916b4b05ce7b4dd5a254a72a1d98051655627dbc.tar.xz |
Skip font loading in formcalc embedder tests
This CL changes XFA to skip font loading for embedder tests. This takes
the runtime for the CFXJSE_Formcalc_ECFXJSE_FormCalcContextEmbedderTest
run from ~25sec to ~5sec.
Change-Id: If9989c5a3474cccd3915ec3f5c178d7af48aae37
Reviewed-on: https://pdfium-review.googlesource.com/27191
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffapp.h')
-rw-r--r-- | xfa/fxfa/cxfa_ffapp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fxfa/cxfa_ffapp.h b/xfa/fxfa/cxfa_ffapp.h index 8ffd657897..b63f058367 100644 --- a/xfa/fxfa/cxfa_ffapp.h +++ b/xfa/fxfa/cxfa_ffapp.h @@ -29,6 +29,8 @@ class IFWL_AdapterTimerMgr; class CXFA_FFApp { public: + static void SkipFontLoadForTesting(bool skip); + explicit CXFA_FFApp(IXFA_AppProvider* pProvider); ~CXFA_FFApp(); |