Chromium Code Reviews| Index: fpdfsdk/cpdfsdk_interform.cpp |
| diff --git a/fpdfsdk/cpdfsdk_interform.cpp b/fpdfsdk/cpdfsdk_interform.cpp |
| index e9fb5b4de0d9108f84fb0bdb547729caabb21092..502649ead9906134d52441a4eea63228894b466d 100644 |
| --- a/fpdfsdk/cpdfsdk_interform.cpp |
| +++ b/fpdfsdk/cpdfsdk_interform.cpp |
| @@ -342,10 +342,11 @@ void CPDFSDK_InterForm::UpdateField(CPDF_FormField* pFormField) { |
| if (CPDFSDK_Widget* pWidget = GetWidget(pFormCtrl, false)) { |
| CPDFSDK_Environment* pEnv = m_pDocument->GetEnv(); |
| - CFFL_IFormFiller* pIFormFiller = pEnv->GetIFormFiller(); |
| + CFFL_InteractiveFormFiller* pInteractiveFormFiller = |
|
Tom Sepez
2016/09/21 18:15:30
nit: if you wanted to save space, you could call t
dsinclair
2016/09/21 18:34:01
Done.
|
| + pEnv->GetInteractiveFormFiller(); |
| UnderlyingPageType* pPage = pWidget->GetUnderlyingPage(); |
| CPDFSDK_PageView* pPageView = m_pDocument->GetPageView(pPage, false); |
| - FX_RECT rcBBox = pIFormFiller->GetViewBBox(pPageView, pWidget); |
| + FX_RECT rcBBox = pInteractiveFormFiller->GetViewBBox(pPageView, pWidget); |
| pEnv->Invalidate(pPage, rcBBox.left, rcBBox.top, rcBBox.right, |
| rcBBox.bottom); |