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 /xfa/fxfa/parser/cxfa_node.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 'xfa/fxfa/parser/cxfa_node.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 935392373a..6a510cc0d4 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -1992,7 +1992,7 @@ int32_t CXFA_Node::ProcessNullTestValidate(CXFA_FFDocView* docView, bool bVersionFlag) { if (!GetWidgetAcc()->GetValue(XFA_VALUEPICTURE_Raw).IsEmpty()) return XFA_EVENTERROR_Success; - if (GetWidgetAcc()->IsNull() && GetWidgetAcc()->IsPreNull()) + if (m_bIsNull && m_bPreNull) return XFA_EVENTERROR_Success; XFA_AttributeEnum eNullTest = validate->GetNullTest(); |