diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-13 22:04:23 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-13 22:04:23 +0000 |
commit | 9bf1a5efde45cd99be11c530232df349c3eb5295 (patch) | |
tree | fc6ae5dfd030cc8bc9d35d5df61ff48f6bf97db0 /core/fxcrt/xml/cfx_xmlnode.h | |
parent | 815f5eba63db351b6b9b53ec6ad49890802f7fa1 (diff) | |
download | pdfium-9bf1a5efde45cd99be11c530232df349c3eb5295.tar.xz |
Add last_child to CFX_XMLNode
This CL adds the list_child_ member into CFX_XMLNode to keep it
consistent with other tree's in the system.
Change-Id: I2e64f11fb9c7df40dd3467edcce177fc492d2cd2
Reviewed-on: https://pdfium-review.googlesource.com/26670
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxcrt/xml/cfx_xmlnode.h')
-rw-r--r-- | core/fxcrt/xml/cfx_xmlnode.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fxcrt/xml/cfx_xmlnode.h b/core/fxcrt/xml/cfx_xmlnode.h index e2154c4f71..cf2158af5b 100644 --- a/core/fxcrt/xml/cfx_xmlnode.h +++ b/core/fxcrt/xml/cfx_xmlnode.h @@ -50,9 +50,10 @@ class CFX_XMLNode { private: CFX_XMLNode* parent_ = nullptr; - CFX_XMLNode* first_child_ = nullptr; - CFX_XMLNode* prev_sibling_ = nullptr; CFX_XMLNode* next_sibling_ = nullptr; + CFX_XMLNode* prev_sibling_ = nullptr; + CFX_XMLNode* first_child_ = nullptr; + CFX_XMLNode* last_child_ = nullptr; }; #endif // CORE_FXCRT_XML_CFX_XMLNODE_H_ |