diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-14 10:38:17 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-14 10:38:17 -0700 |
commit | 1f2489023f2b808c41071d992abceb646ade8e1b (patch) | |
tree | 34fedda2eeb4f5f98397d5ec81a3f9b46d5c8d51 /fpdfsdk/cpdfsdk_interform.cpp | |
parent | 8b1ed16144925205a34e3796b57db72dd6ee6a89 (diff) | |
download | pdfium-1f2489023f2b808c41071d992abceb646ade8e1b.tar.xz |
Remove FFI_ from CPDFSDK_Environment method names
The prefix doesn't add anything when used in CPDFSDK_Environment, remove.
Review-Url: https://codereview.chromium.org/2338303002
Diffstat (limited to 'fpdfsdk/cpdfsdk_interform.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_interform.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fpdfsdk/cpdfsdk_interform.cpp b/fpdfsdk/cpdfsdk_interform.cpp index 405a419b86..12def4ca28 100644 --- a/fpdfsdk/cpdfsdk_interform.cpp +++ b/fpdfsdk/cpdfsdk_interform.cpp @@ -347,8 +347,8 @@ void CPDFSDK_InterForm::UpdateField(CPDF_FormField* pFormField) { CPDFSDK_PageView* pPageView = m_pDocument->GetPageView(pPage, false); FX_RECT rcBBox = pIFormFiller->GetViewBBox(pPageView, pWidget); - pEnv->FFI_Invalidate(pPage, rcBBox.left, rcBBox.top, rcBBox.right, - rcBBox.bottom); + pEnv->Invalidate(pPage, rcBBox.left, rcBBox.top, rcBBox.right, + rcBBox.bottom); } } } @@ -366,8 +366,8 @@ FX_BOOL CPDFSDK_InterForm::OnKeyStrokeCommit(CPDF_FormField* pFormField, CPDFSDK_Environment* pEnv = m_pDocument->GetEnv(); CPDFSDK_ActionHandler* pActionHandler = pEnv->GetActionHander(); PDFSDK_FieldAction fa; - fa.bModifier = pEnv->FFI_IsCTRLKeyDown(0); - fa.bShift = pEnv->FFI_IsSHIFTKeyDown(0); + fa.bModifier = pEnv->IsCTRLKeyDown(0); + fa.bShift = pEnv->IsSHIFTKeyDown(0); fa.sValue = csValue; pActionHandler->DoAction_FieldJavaScript(action, CPDF_AAction::KeyStroke, m_pDocument, pFormField, fa); @@ -387,8 +387,8 @@ FX_BOOL CPDFSDK_InterForm::OnValidate(CPDF_FormField* pFormField, CPDFSDK_Environment* pEnv = m_pDocument->GetEnv(); CPDFSDK_ActionHandler* pActionHandler = pEnv->GetActionHander(); PDFSDK_FieldAction fa; - fa.bModifier = pEnv->FFI_IsCTRLKeyDown(0); - fa.bShift = pEnv->FFI_IsSHIFTKeyDown(0); + fa.bModifier = pEnv->IsCTRLKeyDown(0); + fa.bShift = pEnv->IsSHIFTKeyDown(0); fa.sValue = csValue; pActionHandler->DoAction_FieldJavaScript(action, CPDF_AAction::Validate, m_pDocument, pFormField, fa); |