From 8946aec4c3e727aae806f9858c2329ce368dd517 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 2 Nov 2017 19:15:03 +0000 Subject: Remove default values from CJX_Node::TryContent This CL removes the default values from TryContent and inlines into the call sites. Change-Id: I2d3f41f77364a0b923931479a60e07eae98dd5a9 Reviewed-on: https://pdfium-review.googlesource.com/17550 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- xfa/fxfa/cxfa_ffdoc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xfa/fxfa/cxfa_ffdoc.cpp') diff --git a/xfa/fxfa/cxfa_ffdoc.cpp b/xfa/fxfa/cxfa_ffdoc.cpp index 5b00d5a579..244e243273 100644 --- a/xfa/fxfa/cxfa_ffdoc.cpp +++ b/xfa/fxfa/cxfa_ffdoc.cpp @@ -264,8 +264,10 @@ void CXFA_FFDoc::StopLoad() { return; WideString wsType; - if (pDynamicRender->JSNode()->TryContent(wsType) && wsType == L"required") + if (pDynamicRender->JSNode()->TryContent(wsType, false, true) && + wsType == L"required") { m_FormType = FormType::kXFAFull; + } } CXFA_FFDocView* CXFA_FFDoc::CreateDocView() { -- cgit v1.2.3