summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-04-09 16:14:55 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-09 16:14:55 +0000
commit2b4ad9ff5bf1727d12ef2bcce7e3fa925bbe8978 (patch)
treeec7691e24cee40c81f4214a089efcc5fa146a744 /LICENSE
parenta0706f0c904673ea9f679829ff87e730e5800765 (diff)
downloadpdfium-2b4ad9ff5bf1727d12ef2bcce7e3fa925bbe8978.tar.xz
Remove CXFA nodes instead of CFX_XML nodes
When we set data into the CJX nodes, we need to update the backing store of the XFA nodes, which are the XML nodes. When we update the backing store, there are cases where we need to remove the children (setting CData on a node or setting the value of an Attribute which is backed by a real node). Currently we call DeleteChildren on the XML node. This causes issues when we cleanup the tree as XFA nodes may point to these deleted XML nodes. Instead, this CL cleans up the XFA nodes which will in turn clean up the XML nodes. This seems like the right thing to do as we no longer have the backing nodes, so we should no longer have the XFA nodes on top of them. Bug: chromium:813155 Change-Id: I63d53fd56999ec9d3b3af2ab5952b374663f040c Reviewed-on: https://pdfium-review.googlesource.com/29950 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions