diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-08-21 17:30:34 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-21 17:30:34 +0000 |
commit | 45309b122e1df498ab4aa7c85fe5e9d01788321b (patch) | |
tree | 7eac5148efbfee96a0dd76a4965a65ba34f524fe /xfa/fxfa | |
parent | 94822b57c10e57a3d2edbe83a54f4c699cb3d46c (diff) | |
download | pdfium-45309b122e1df498ab4aa7c85fe5e9d01788321b.tar.xz |
Fix one-of property JS errors.
Introduced in:
https://pdfium-review.googlesource.com/c/pdfium/+/18271/13/xfa/fxfa/parser/cxfa_node.cpp
Bug: 872899
Change-Id: I9e71e384cd8682dd09378f0cb92ae443138a19d8
Reviewed-on: https://pdfium-review.googlesource.com/40870
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa')
-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 6b30f79210..c41a1ac97a 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -795,7 +795,7 @@ std::vector<CXFA_Node*> CXFA_Node::GetNodeList(uint32_t dwTypeFilter, std::vector<CXFA_Node*> nodes; for (CXFA_Node* pChild = first_child_; pChild; pChild = pChild->next_sibling_) { - if (!HasProperty(pChild->GetElementType())) { + if (HasProperty(pChild->GetElementType())) { if (bFilterProperties) { nodes.push_back(pChild); } else if (bFilterOneOfProperties && |