summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller/cffl_formfiller.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-21 10:14:10 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-21 10:14:10 -0700
commit5819e4f334521cb1599f3d5f1f28df40528727ba (patch)
treeabb2122cb18962e4c440cbeaaa6652679b9f5b8e /fpdfsdk/formfiller/cffl_formfiller.h
parentb873def79f7b1d83a55dc60d633ed607b319ff4f (diff)
downloadpdfium-5819e4f334521cb1599f3d5f1f28df40528727ba.tar.xz
Rename m_pApp to m_pEnv
The m_pApp variable holds a CPDFSDK_Environment. This Cl renames the variable to be m_pEnv so as not to confuse with the various App classes that exist. Review-Url: https://codereview.chromium.org/2357293002
Diffstat (limited to 'fpdfsdk/formfiller/cffl_formfiller.h')
-rw-r--r--fpdfsdk/formfiller/cffl_formfiller.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/fpdfsdk/formfiller/cffl_formfiller.h b/fpdfsdk/formfiller/cffl_formfiller.h
index 9d2b66b769..d2f2fe6230 100644
--- a/fpdfsdk/formfiller/cffl_formfiller.h
+++ b/fpdfsdk/formfiller/cffl_formfiller.h
@@ -20,7 +20,7 @@ class CPDFSDK_Widget;
class CFFL_FormFiller : public IPWL_Provider, public CPWL_TimerHandler {
public:
- CFFL_FormFiller(CPDFSDK_Environment* pApp, CPDFSDK_Annot* pAnnot);
+ CFFL_FormFiller(CPDFSDK_Environment* pEnv, CPDFSDK_Annot* pAnnot);
~CFFL_FormFiller() override;
virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView,
@@ -148,7 +148,6 @@ class CFFL_FormFiller : public IPWL_Provider, public CPWL_TimerHandler {
double top,
double right,
double bottom);
- CPDFSDK_Environment* GetApp() { return m_pApp; }
CPDFSDK_Annot* GetSDKAnnot() { return m_pAnnot; }
protected:
@@ -162,7 +161,7 @@ class CFFL_FormFiller : public IPWL_Provider, public CPWL_TimerHandler {
// until the PWL_Edit is done with it. pdfium:566
void DestroyWindows();
- CPDFSDK_Environment* m_pApp;
+ CPDFSDK_Environment* m_pEnv;
CPDFSDK_Widget* m_pWidget;
CPDFSDK_Annot* m_pAnnot;
@@ -173,7 +172,7 @@ class CFFL_FormFiller : public IPWL_Provider, public CPWL_TimerHandler {
class CFFL_Button : public CFFL_FormFiller {
public:
- CFFL_Button(CPDFSDK_Environment* pApp, CPDFSDK_Annot* pWidget);
+ CFFL_Button(CPDFSDK_Environment* pEnv, CPDFSDK_Annot* pWidget);
~CFFL_Button() override;
// CFFL_FormFiller