From 876efaa771afe7ebd7a97dc748abdbb5b266a99b Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 12 Apr 2018 13:39:28 +0000 Subject: 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 Commit-Queue: dsinclair --- fxjs/xfa/cjx_node.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fxjs') diff --git a/fxjs/xfa/cjx_node.cpp b/fxjs/xfa/cjx_node.cpp index 9dd47d3622..125c52ca93 100644 --- a/fxjs/xfa/cjx_node.cpp +++ b/fxjs/xfa/cjx_node.cpp @@ -18,8 +18,8 @@ #include "xfa/fxfa/cxfa_eventparam.h" #include "xfa/fxfa/cxfa_ffnotify.h" #include "xfa/fxfa/parser/cxfa_document.h" +#include "xfa/fxfa/parser/cxfa_document_parser.h" #include "xfa/fxfa/parser/cxfa_node.h" -#include "xfa/fxfa/parser/cxfa_simple_parser.h" #include "xfa/fxfa/parser/xfa_utils.h" namespace { @@ -215,7 +215,7 @@ CJS_Return CJX_Node::loadXML(CFX_V8* runtime, if (params.size() >= 3) bOverwrite = runtime->ToBoolean(params[2]); - auto pParser = pdfium::MakeUnique(GetDocument()); + auto pParser = pdfium::MakeUnique(GetDocument()); if (!pParser) return CJS_Return(true); -- cgit v1.2.3