summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_document_parser.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-04-09 20:12:05 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-09 20:12:05 +0000
commit124abf5d68b9fe96bf8a95f239b77fdd47fdc556 (patch)
treebe5f7496c81c12dc593798e9769550836ffc1324 /xfa/fxfa/parser/cxfa_document_parser.h
parent741d5e1e0a64b85717ad054d3fd8807c66845a50 (diff)
downloadpdfium-124abf5d68b9fe96bf8a95f239b77fdd47fdc556.tar.xz
Merge CXFA_DocumentParser::{Start|Do}Parse methods
This CL combines the StartParse and DoParse methods of CXFA_DocumentParser into a single Parse method since they are always called together. Change-Id: I45f38b2730f47c4719ca4f54c32ee8db6f11470d Reviewed-on: https://pdfium-review.googlesource.com/29991 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_document_parser.h')
-rw-r--r--xfa/fxfa/parser/cxfa_document_parser.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_document_parser.h b/xfa/fxfa/parser/cxfa_document_parser.h
index 77265e4d05..c7056c215a 100644
--- a/xfa/fxfa/parser/cxfa_document_parser.h
+++ b/xfa/fxfa/parser/cxfa_document_parser.h
@@ -22,9 +22,8 @@ class CXFA_DocumentParser {
explicit CXFA_DocumentParser(CXFA_FFNotify* pNotify);
~CXFA_DocumentParser();
- int32_t StartParse(const RetainPtr<IFX_SeekableStream>& pStream,
- XFA_PacketType ePacketID);
- int32_t DoParse();
+ int32_t Parse(const RetainPtr<IFX_SeekableStream>& pStream,
+ XFA_PacketType ePacketID);
CXFA_FFNotify* GetNotify() const;
CXFA_Document* GetDocument() const;