diff options
author | Ryan Harrison <rharrison@chromium.org> | 2018-10-05 20:43:46 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-05 20:43:46 +0000 |
commit | 06f3042167126d60184dc3c401e71924cf3b46af (patch) | |
tree | 87c5478a50178cf32a9ca761362b83db254a3ebf /fpdfsdk/cpdfsdk_formfillenvironment.cpp | |
parent | 66095ebfb9fe0b522e56753b7d1b997e65b8b219 (diff) | |
download | pdfium-06f3042167126d60184dc3c401e71924cf3b46af.tar.xz |
Remove SetSaveCalled API
This was meant to be part of a mechanism to alert users that entered
data into a PDF form was not going to actually be saved how they would
expect. The UI for this is blocked on a bug in V8, and is now being
superseded by work to correctly implement saving.
BUG=pdfium:953
Change-Id: Id9c85c109a3f6a6b4ee69d35f366006be4dc9c32
Reviewed-on: https://pdfium-review.googlesource.com/c/43552
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_formfillenvironment.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_formfillenvironment.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fpdfsdk/cpdfsdk_formfillenvironment.cpp b/fpdfsdk/cpdfsdk_formfillenvironment.cpp index c5f9aeb133..c9bb7c94fd 100644 --- a/fpdfsdk/cpdfsdk_formfillenvironment.cpp +++ b/fpdfsdk/cpdfsdk_formfillenvironment.cpp @@ -628,13 +628,6 @@ CPDFSDK_InterForm* CPDFSDK_FormFillEnvironment::GetInterForm() { return m_pInterForm.get(); } -void CPDFSDK_FormFillEnvironment::SaveCalled() { - if (!m_pInfo || !m_SaveCalled) - return; - - m_SaveCalled(m_pInfo); -} - void CPDFSDK_FormFillEnvironment::UpdateAllViews(CPDFSDK_PageView* pSender, CPDFSDK_Annot* pAnnot) { for (const auto& it : m_PageMap) { |