diff options
Diffstat (limited to 'xfa/fxfa/cxfa_ffapp.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffapp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffapp.cpp b/xfa/fxfa/cxfa_ffapp.cpp index a2b0c005f0..1367a77b87 100644 --- a/xfa/fxfa/cxfa_ffapp.cpp +++ b/xfa/fxfa/cxfa_ffapp.cpp @@ -51,10 +51,10 @@ CFGAS_FontMgr* CXFA_FFApp::GetFDEFontMgr() { return m_pFDEFontMgr.get(); } -CXFA_FWLTheme* CXFA_FFApp::GetFWLTheme() { +CXFA_FWLTheme* CXFA_FFApp::GetFWLTheme(CXFA_FFDoc* doc) { if (!m_pFWLTheme) { auto fwl_theme = pdfium::MakeUnique<CXFA_FWLTheme>(this); - if (fwl_theme->LoadCalendarFont()) + if (fwl_theme->LoadCalendarFont(doc)) m_pFWLTheme = std::move(fwl_theme); } return m_pFWLTheme.get(); |