summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/formfiller
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-10-02 14:01:37 -0700
committerLei Zhang <thestig@chromium.org>2015-10-02 14:01:37 -0700
commitac67d4765a8ac36cd00c9fc8b6f2b80a3e1cff72 (patch)
treec6c9718ccebfc035eeda548ae7f4f0cb9ef4059e /fpdfsdk/include/formfiller
parentb8a074711108baf04017d86207e08c19ff327d8e (diff)
downloadpdfium-ac67d4765a8ac36cd00c9fc8b6f2b80a3e1cff72.tar.xz
Do not call into formfiller code with a NULL PageView.
BUG=537173 R=jun_fang@foxitsoftware.com, tsepez@chromium.org Review URL: https://codereview.chromium.org/1376093002 .
Diffstat (limited to 'fpdfsdk/include/formfiller')
-rw-r--r--fpdfsdk/include/formfiller/FFL_FormFiller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/include/formfiller/FFL_FormFiller.h b/fpdfsdk/include/formfiller/FFL_FormFiller.h
index 799154cedd..35b4bdf59b 100644
--- a/fpdfsdk/include/formfiller/FFL_FormFiller.h
+++ b/fpdfsdk/include/formfiller/FFL_FormFiller.h
@@ -76,8 +76,8 @@ class CFFL_FormFiller : public IPWL_Provider, public CPWL_TimerHandler {
FX_UINT nFlags);
virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags);
- FX_BOOL SetFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag);
- FX_BOOL KillFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag);
+ void SetFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag);
+ void KillFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag);
// CPWL_TimerHandler
void TimerProc() override;