Index: fpdfsdk/javascript/Field.h |
diff --git a/fpdfsdk/javascript/Field.h b/fpdfsdk/javascript/Field.h |
index 5697865b7c0c7f2b086dd1dfa39e72470122b759..3d1b0ff876f9eecaa64e05a93dc960658e937b98 100644 |
--- a/fpdfsdk/javascript/Field.h |
+++ b/fpdfsdk/javascript/Field.h |
@@ -425,7 +425,8 @@ class Field : public CJS_EmbedObj { |
FX_BOOL bRefresh); |
static CPDFSDK_Widget* GetWidget(CPDFSDK_Document* pDocument, |
- CPDF_FormControl* pFormControl); |
+ CPDF_FormControl* pFormControl, |
+ bool createIfNeeded); |
static std::vector<CPDF_FormField*> GetFormFields( |
CPDFSDK_Document* pDocument, |
const CFX_WideString& csFieldName); |