From 2157c4baba28123304affa48ec0a5973151faccf Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 22 Jan 2018 18:44:39 +0000 Subject: Move IsNull and PreNull to CXFA_Node This CL moves the m_bIsNull and m_bPreNull flags from CXFA_WidgetAcc to CXFA_Node. Change-Id: Ibdcdb8611699d6d908ab3c6ed05cbce7bba872ae Reviewed-on: https://pdfium-review.googlesource.com/23310 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- fxjs/xfa/cjx_field.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fxjs') diff --git a/fxjs/xfa/cjx_field.cpp b/fxjs/xfa/cjx_field.cpp index 2af988f1fe..828bfb9a0d 100644 --- a/fxjs/xfa/cjx_field.cpp +++ b/fxjs/xfa/cjx_field.cpp @@ -248,8 +248,8 @@ void CJX_Field::defaultValue(CFXJSE_Value* pValue, CXFA_WidgetAcc* pWidgetAcc = xfaNode->GetWidgetAcc(); if (bSetting) { if (pValue) { - pWidgetAcc->SetPreNull(pWidgetAcc->IsNull()); - pWidgetAcc->SetIsNull(pValue->IsNull()); + xfaNode->SetPreNull(xfaNode->IsNull()); + xfaNode->SetIsNull(pValue->IsNull()); } WideString wsNewText; -- cgit v1.2.3