summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_node.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-02-13 19:00:27 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-13 19:00:27 +0000
commit8853b7f0c083c3e1829b11425a6eb796fa9bd22d (patch)
tree8e3243f61eb37ab5b46b4856d22eedcb61acbd75 /xfa/fxfa/parser/cxfa_node.h
parentdb8ef922e8f45fec00470e6234d9ba65e9be9537 (diff)
downloadpdfium-8853b7f0c083c3e1829b11425a6eb796fa9bd22d.tar.xz
Add tests for CXFA_Node child manipulation
This CL adds tests for CXFA_Node::InsertChild and CXFA_Node::RemoveChild methods. Change-Id: I6ef9e76dfbfa8a9b8246620ecf80c88812b332fc Reviewed-on: https://pdfium-review.googlesource.com/26371 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.h')
-rw-r--r--xfa/fxfa/parser/cxfa_node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h
index 09db729130..7362c206bd 100644
--- a/xfa/fxfa/parser/cxfa_node.h
+++ b/xfa/fxfa/parser/cxfa_node.h
@@ -181,6 +181,7 @@ class CXFA_Node : public CXFA_Object {
CXFA_Node* GetNextSibling() const { return next_sibling_; }
CXFA_Node* GetPrevSibling() const;
CXFA_Node* GetFirstChild() const { return first_child_; }
+ CXFA_Node* GetLastChild() const { return last_child_; }
CXFA_Node* GetParent() const { return parent_; }
CXFA_Node* GetNextContainerSibling() const;