summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-27 18:22:06 -0800
committerLei Zhang <thestig@chromium.org>2016-01-27 18:22:06 -0800
commit6ffb03cc9aafeefddde57a68c9257cae9dc505c1 (patch)
tree8419a83c417d4ee260626d5d99689743d3595878 /fpdfsdk/src
parent99ffdb0b9b488d743331646dc410f26b71e1f037 (diff)
downloadpdfium-6ffb03cc9aafeefddde57a68c9257cae9dc505c1.tar.xz
XFA: Remove dead AddDoRecord code.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1640033002 .
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
index dbd3bd0bad..09c444eb67 100644
--- a/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
+++ b/fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
@@ -804,19 +804,11 @@ FX_ARGB CPDFXFA_Document::GetHighlightColor(IXFA_Doc* hDoc) {
return 0;
}
-void CPDFXFA_Document::AddDoRecord(IXFA_Widget* hWidget) {
- CPDFDoc_Environment* pEnv = m_pSDKDoc->GetEnv();
- if (pEnv == NULL)
- return;
- return;
- // pEnv->FFI_AddDoRecord(this, hWidget);
-}
-
FX_BOOL CPDFXFA_Document::_NotifySubmit(FX_BOOL bPrevOrPost) {
if (bPrevOrPost)
return _OnBeforeNotifySumbit();
- else
- _OnAfterNotifySumbit();
+
+ _OnAfterNotifySumbit();
return TRUE;
}