summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdoc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffdoc.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffdoc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffdoc.cpp b/xfa/fxfa/cxfa_ffdoc.cpp
index ad7bbd9531..fd3a1234b0 100644
--- a/xfa/fxfa/cxfa_ffdoc.cpp
+++ b/xfa/fxfa/cxfa_ffdoc.cpp
@@ -168,9 +168,8 @@ CXFA_FFDoc::~CXFA_FFDoc() {
int32_t CXFA_FFDoc::Load() {
m_pNotify = pdfium::MakeUnique<CXFA_FFNotify>(this);
m_pDocumentParser = pdfium::MakeUnique<CXFA_DocumentParser>(m_pNotify.get());
- m_pDocumentParser->StartParse(m_pStream, XFA_PacketType::Xdp);
- int32_t iStatus = m_pDocumentParser->DoParse();
+ int32_t iStatus = m_pDocumentParser->Parse(m_pStream, XFA_PacketType::Xdp);
if (iStatus != XFA_PARSESTATUS_Done)
return iStatus;
if (!m_pPDFDoc)