Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: fpdfsdk/cpdfsdk_interform.cpp

Issue 2357203003: Make the I in IFormFiller explicit (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698