summaryrefslogtreecommitdiff
path: root/fxjs/xfa
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-22 18:44:39 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-22 18:44:39 +0000
commit2157c4baba28123304affa48ec0a5973151faccf (patch)
tree2de8bae634ebb204a1f31683c79a8c70d7bbfacc /fxjs/xfa
parented4038bc335385b7e341d8de5c2bec8db5dcdcb6 (diff)
downloadpdfium-2157c4baba28123304affa48ec0a5973151faccf.tar.xz
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 <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/xfa')
-rw-r--r--fxjs/xfa/cjx_field.cpp4
1 files changed, 2 insertions, 2 deletions
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;