summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_interform.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-04 15:35:12 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-04 15:35:12 -0700
commitc5267c54ea32ade03bf10e6bb203e34e3fcbd77d (patch)
treee9cdfed6f7af12ce42cf3daefcbee7d26fc05422 /fpdfsdk/cpdfsdk_interform.h
parentec64cee9acccd0d1e574bbbd8aa91b08c1cf254f (diff)
downloadpdfium-c5267c54ea32ade03bf10e6bb203e34e3fcbd77d.tar.xz
Revert: Only create widgets if really needed
This CL reverts ef523dd36aea991084b8b934df846014a5c09c6f which causes issues with syncing of form fields over pages. The initial bug had follow on fixes which seem to have rendered this fix un-needed. BUG=chromium:632709, chromium:661294 Review-Url: https://codereview.chromium.org/2473103003
Diffstat (limited to 'fpdfsdk/cpdfsdk_interform.h')
-rw-r--r--fpdfsdk/cpdfsdk_interform.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_interform.h b/fpdfsdk/cpdfsdk_interform.h
index f0921a97f4..4c5d10dccf 100644
--- a/fpdfsdk/cpdfsdk_interform.h
+++ b/fpdfsdk/cpdfsdk_interform.h
@@ -39,8 +39,7 @@ class CPDFSDK_InterForm : public IPDF_FormNotify {
bool HighlightWidgets();
CPDFSDK_Widget* GetSibling(CPDFSDK_Widget* pWidget, bool bNext) const;
- CPDFSDK_Widget* GetWidget(CPDF_FormControl* pControl,
- bool createIfNeeded) const;
+ CPDFSDK_Widget* GetWidget(CPDF_FormControl* pControl) const;
void GetWidgets(const CFX_WideString& sFieldName,
std::vector<CPDFSDK_Widget*>* widgets) const;
void GetWidgets(CPDF_FormField* pField,