Rename pFormFiller variables to pFormField
Same with GetFormFiller methods.
Fixed: pdfium:1673
Change-Id: I156c9dc219dbf22e11b1b5f879833a2dc86fa0c8
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/81170
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.cpp b/fpdfsdk/cpdfsdk_formfillenvironment.cpp
index 2ba3aec..427fb27 100644
--- a/fpdfsdk/cpdfsdk_formfillenvironment.cpp
+++ b/fpdfsdk/cpdfsdk_formfillenvironment.cpp
@@ -110,16 +110,16 @@
}
void CPDFSDK_FormFillEnvironment::OutputSelectedRect(
- CFFL_FormField* pFormFiller,
+ CFFL_FormField* pFormField,
const CFX_FloatRect& rect) {
- if (!pFormFiller || !m_pInfo || !m_pInfo->FFI_OutputSelectedRect)
+ if (!pFormField || !m_pInfo || !m_pInfo->FFI_OutputSelectedRect)
return;
- auto* pPage = FPDFPageFromIPDFPage(pFormFiller->GetSDKAnnot()->GetPage());
+ auto* pPage = FPDFPageFromIPDFPage(pFormField->GetSDKAnnot()->GetPage());
DCHECK(pPage);
- CFX_PointF ptA = pFormFiller->PWLtoFFL(CFX_PointF(rect.left, rect.bottom));
- CFX_PointF ptB = pFormFiller->PWLtoFFL(CFX_PointF(rect.right, rect.top));
+ CFX_PointF ptA = pFormField->PWLtoFFL(CFX_PointF(rect.left, rect.bottom));
+ CFX_PointF ptB = pFormField->PWLtoFFL(CFX_PointF(rect.right, rect.top));
m_pInfo->FFI_OutputSelectedRect(m_pInfo, pPage, ptA.x, ptB.y, ptB.x, ptA.y);
}