commit | 3ba597d729c9d86c48538f3ca6ec25bee1f27616 | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Fri Nov 08 21:08:50 2019 +0000 |
committer | Chromium commit bot <commit-bot@chromium.org> | Fri Nov 08 21:08:50 2019 +0000 |
tree | 7930741cf26deb6ae34285eef6d314dac6d58475 | |
parent | 6105b28d9b325f11cdf3630adc41de53de3adeb1 [diff] [blame] |
Remove bWillCommit argument from OnField_Format() methods. It is always passed as true. Change-Id: I645d2ee479b86b2071068197b882e3e7324bfef2 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/62210 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fpdfsdk/cpdfsdk_interactiveform.cpp b/fpdfsdk/cpdfsdk_interactiveform.cpp index 9e7c548..4b10400 100644 --- a/fpdfsdk/cpdfsdk_interactiveform.cpp +++ b/fpdfsdk/cpdfsdk_interactiveform.cpp
@@ -306,7 +306,7 @@ WideString script = action.GetJavaScript(); if (!script.IsEmpty()) { IJS_Runtime::ScopedEventContext pContext(pRuntime); - pContext->OnField_Format(pFormField, &sValue, true); + pContext->OnField_Format(pFormField, &sValue); Optional<IJS_Runtime::JS_Error> err = pContext->RunScript(script); if (!err) return sValue;