diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-04-12 13:39:28 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-12 13:39:28 +0000 |
commit | 876efaa771afe7ebd7a97dc748abdbb5b266a99b (patch) | |
tree | 2ecab1920b8dc3ca752bca79ceb6bc5108f47293 /xfa/fxfa/cxfa_ffdoc.cpp | |
parent | 0cad1163af80cfcc987a3d431fbd05fa3e09151b (diff) | |
download | pdfium-876efaa771afe7ebd7a97dc748abdbb5b266a99b.tar.xz |
Rename CXFA_SimpleParser to CXFA_DocumentParser
The CXFA_SimpleParser is handling the XFA document parsing. This CL
renames the class to make it clearer that this is the XFA document
parser.
Change-Id: Ia290df2671fba9efa221ae997156ee4846749b02
Reviewed-on: https://pdfium-review.googlesource.com/30231
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdoc.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffdoc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffdoc.cpp b/xfa/fxfa/cxfa_ffdoc.cpp index c0bd7816fc..c7642cf977 100644 --- a/xfa/fxfa/cxfa_ffdoc.cpp +++ b/xfa/fxfa/cxfa_ffdoc.cpp @@ -33,9 +33,9 @@ #include "xfa/fxfa/parser/cxfa_dataexporter.h" #include "xfa/fxfa/parser/cxfa_dataimporter.h" #include "xfa/fxfa/parser/cxfa_document.h" +#include "xfa/fxfa/parser/cxfa_document_parser.h" #include "xfa/fxfa/parser/cxfa_dynamicrender.h" #include "xfa/fxfa/parser/cxfa_node.h" -#include "xfa/fxfa/parser/cxfa_simple_parser.h" namespace { @@ -211,7 +211,7 @@ bool CXFA_FFDoc::Load() { bool CXFA_FFDoc::ParseDoc() { // Note, we don't pass the document into the constructor as currently that // triggers different behaviour in the parser. - CXFA_SimpleParser parser; + CXFA_DocumentParser parser; parser.SetFactory(m_pDocument.get()); if (!parser.Parse(m_pStream, XFA_PacketType::Xdp)) return false; |