diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-12 12:05:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-12 12:05:44 -0700 |
commit | 8779fa8578cf3336ddd4473f833900aba2e595fb (patch) | |
tree | df330933cab06ed2c6a6b5b825680fd2b4731d57 /fpdfsdk/formfiller/cffl_listbox.cpp | |
parent | 7cbe68e34257b460bfa3baf0ea68fd6d50e1bc77 (diff) | |
download | pdfium-8779fa8578cf3336ddd4473f833900aba2e595fb.tar.xz |
Cleanup env variable names
This CL cleans up any old m_pEnv variables to
be correctly named m_pFormFillEnv.
Review-Url: https://codereview.chromium.org/2412523002
Diffstat (limited to 'fpdfsdk/formfiller/cffl_listbox.cpp')
-rw-r--r-- | fpdfsdk/formfiller/cffl_listbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/formfiller/cffl_listbox.cpp b/fpdfsdk/formfiller/cffl_listbox.cpp index d8331e5027..85b907017c 100644 --- a/fpdfsdk/formfiller/cffl_listbox.cpp +++ b/fpdfsdk/formfiller/cffl_listbox.cpp @@ -38,8 +38,8 @@ PWL_CREATEPARAM CFFL_ListBox::GetCreateParam() { cp.fFontSize = FFL_DEFAULTLISTBOXFONTSIZE; if (!m_pFontMap) { - m_pFontMap = - pdfium::MakeUnique<CBA_FontMap>(m_pWidget, m_pEnv->GetSysHandler()); + m_pFontMap = pdfium::MakeUnique<CBA_FontMap>( + m_pWidget, m_pFormFillEnv->GetSysHandler()); } cp.pFontMap = m_pFontMap.get(); @@ -51,7 +51,7 @@ CPWL_Wnd* CFFL_ListBox::NewPDFWindow(const PWL_CREATEPARAM& cp, CPWL_ListBox* pWnd = new CPWL_ListBox(); pWnd->AttachFFLData(this); pWnd->Create(cp); - pWnd->SetFillerNotify(m_pEnv->GetInteractiveFormFiller()); + pWnd->SetFillerNotify(m_pFormFillEnv->GetInteractiveFormFiller()); for (int32_t i = 0, sz = m_pWidget->CountOptions(); i < sz; i++) pWnd->AddString(m_pWidget->GetOptionLabel(i)); |