diff options
author | Lei Zhang <thestig@chromium.org> | 2017-12-04 06:04:35 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-12-04 06:04:35 +0000 |
commit | 56b08b1f2bb8a4eb9330963bff3a626603499730 (patch) | |
tree | 406c3453ad65a08c56aa3c15b6f70d7b149b84a7 /fxjs | |
parent | b8d86800487df4021860f08407c323ed82243c79 (diff) | |
download | pdfium-56b08b1f2bb8a4eb9330963bff3a626603499730.tar.xz |
Make CXFA_SimpleParser members const or Unowned.
Fix ownership issues, and simplify CXFA_SimpleParser ctors.
Change-Id: Ie083080297c5c2586ae3e6a8355839fcb86ee9ea
Reviewed-on: https://pdfium-review.googlesource.com/20130
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r-- | fxjs/cjx_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjx_node.cpp b/fxjs/cjx_node.cpp index 479bb8fa3d..58e2cdeb7c 100644 --- a/fxjs/cjx_node.cpp +++ b/fxjs/cjx_node.cpp @@ -705,7 +705,7 @@ void CJX_Node::Script_NodeClass_LoadXML(CFXJSE_Arguments* pArguments) { if (iLength >= 3) bOverwrite = !!pArguments->GetInt32(2); - auto pParser = pdfium::MakeUnique<CXFA_SimpleParser>(GetDocument(), false); + auto pParser = pdfium::MakeUnique<CXFA_SimpleParser>(GetDocument()); if (!pParser) return; |