diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-22 18:44:39 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-22 18:44:39 +0000 |
commit | 2157c4baba28123304affa48ec0a5973151faccf (patch) | |
tree | 2de8bae634ebb204a1f31683c79a8c70d7bbfacc /fxjs/xfa/cjx_field.cpp | |
parent | ed4038bc335385b7e341d8de5c2bec8db5dcdcb6 (diff) | |
download | pdfium-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/cjx_field.cpp')
-rw-r--r-- | fxjs/xfa/cjx_field.cpp | 4 |
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; |