summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-10 19:45:14 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-10 19:45:14 +0000
commite2210acfff622ac73b0783e1523615753484073b (patch)
tree6adbff1232b2177a6b2581e3ef709b5909a0dda0 /fpdfsdk/cpdfsdk_widget.h
parent7348681933306c3b407cb3756ce4f01782791fb6 (diff)
downloadpdfium-e2210acfff622ac73b0783e1523615753484073b.tar.xz
Get rid of useless form of CPDFSDK_Widget::GetFormControl().
Just call CPDF_InterForm::GetControlByDict() directly instead. Change-Id: I3fce2330ab81324d62477530b2617feeb0a49749 Reviewed-on: https://pdfium-review.googlesource.com/c/43606 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_widget.h')
-rw-r--r--fpdfsdk/cpdfsdk_widget.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.h b/fpdfsdk/cpdfsdk_widget.h
index e3f9204eb8..283d244ca4 100644
--- a/fpdfsdk/cpdfsdk_widget.h
+++ b/fpdfsdk/cpdfsdk_widget.h
@@ -101,8 +101,6 @@ class CPDFSDK_Widget final : public CPDFSDK_BAAnnot {
CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm.Get(); }
CPDF_FormField* GetFormField() const;
CPDF_FormControl* GetFormControl() const;
- static CPDF_FormControl* GetFormControl(CPDF_InterForm* pInterForm,
- const CPDF_Dictionary* pAnnotDict);
void DrawShadow(CFX_RenderDevice* pDevice, CPDFSDK_PageView* pPageView);