summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Field.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/javascript/Field.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/javascript/Field.h')
-rw-r--r--fpdfsdk/javascript/Field.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/Field.h b/fpdfsdk/javascript/Field.h
index d4371ab274..f3948fff5b 100644
--- a/fpdfsdk/javascript/Field.h
+++ b/fpdfsdk/javascript/Field.h
@@ -407,8 +407,7 @@ class Field : public CJS_EmbedObj {
bool bRefresh);
static CPDFSDK_Widget* GetWidget(CPDFSDK_FormFillEnvironment* pFormFillEnv,
- CPDF_FormControl* pFormControl,
- bool createIfNeeded);
+ CPDF_FormControl* pFormControl);
static std::vector<CPDF_FormField*> GetFormFields(
CPDFSDK_FormFillEnvironment* pFormFillEnv,
const CFX_WideString& csFieldName);