diff options
Diffstat (limited to 'xfa/fxfa/cxfa_ffpushbutton.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffpushbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffpushbutton.cpp b/xfa/fxfa/cxfa_ffpushbutton.cpp index 0e8548411c..a1250b5785 100644 --- a/xfa/fxfa/cxfa_ffpushbutton.cpp +++ b/xfa/fxfa/cxfa_ffpushbutton.cpp @@ -143,7 +143,7 @@ void CXFA_FFPushButton::LoadHighlightCaption() { m_pDataAcc.Get(), XFA_TEXTPROVIDERTYPE_Rollover); } m_pRolloverTextLayout = - pdfium::MakeUnique<CXFA_TextLayout>(m_pRollProvider.get()); + pdfium::MakeUnique<CXFA_TextLayout>(GetDoc(), m_pRollProvider.get()); } if (m_pDataAcc->HasButtonDown()) { @@ -152,7 +152,7 @@ void CXFA_FFPushButton::LoadHighlightCaption() { m_pDataAcc.Get(), XFA_TEXTPROVIDERTYPE_Down); } m_pDownTextLayout = - pdfium::MakeUnique<CXFA_TextLayout>(m_pDownProvider.get()); + pdfium::MakeUnique<CXFA_TextLayout>(GetDoc(), m_pDownProvider.get()); } } |