From 003e96c7c3e15afd2969d33bc91ca459bb73a3b5 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 23 Jan 2018 21:19:22 +0000 Subject: Remove CXFA_Node::GetNode and m_pNode This CL removes the node scaffolding added when merging CXFA_WidgetAcc into CXFA_Node. Change-Id: I02a6b80d2c910816b1aec613078d4871c29369b3 Reviewed-on: https://pdfium-review.googlesource.com/23650 Commit-Queue: dsinclair Reviewed-by: Henrique Nakashima --- xfa/fxfa/parser/cxfa_node.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'xfa/fxfa/parser/cxfa_node.h') diff --git a/xfa/fxfa/parser/cxfa_node.h b/xfa/fxfa/parser/cxfa_node.h index 47fd30bc8e..19111a6580 100644 --- a/xfa/fxfa/parser/cxfa_node.h +++ b/xfa/fxfa/parser/cxfa_node.h @@ -360,10 +360,6 @@ class CXFA_Node : public CXFA_Object { RetainPtr GetFDEFont(CXFA_FFDoc* doc); - // TODO(dsinclair): Remove post WidgetAcc merge. - CXFA_Node* GetNode() { return this; } - - bool IsOpenAccess() const; bool IsListBox(); bool IsAllowNeutral(); bool IsRadioButton(); @@ -371,8 +367,8 @@ class CXFA_Node : public CXFA_Object { bool IsMultiLine(); XFA_AttributeEnum GetButtonHighlight(); - bool HasButtonRollover() const; - bool HasButtonDown() const; + bool HasButtonRollover(); + bool HasButtonDown(); bool IsCheckButtonRound(); XFA_AttributeEnum GetCheckButtonMark(); @@ -539,8 +535,6 @@ class CXFA_Node : public CXFA_Object { bool m_bPreNull = true; bool is_widget_ready_ = false; std::unique_ptr m_pLayoutData; - // TODO(dsinclair): Remove post WidgetAcc merge. - CXFA_Node* m_pNode; }; #endif // XFA_FXFA_PARSER_CXFA_NODE_H_ -- cgit v1.2.3