summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_object.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-22 20:03:17 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-22 20:03:17 +0000
commit6221f22c79a532f7dd422cc51afb91cb35bc349d (patch)
tree919954dcc9db6eb997040c03f0ce98b3417865a9 /xfa/fxfa/parser/cxfa_object.cpp
parentab218bf9f437d666e1ef7974c51f95f456bd036f (diff)
downloadpdfium-6221f22c79a532f7dd422cc51afb91cb35bc349d.tar.xz
Move WidgetAcc and IsWidgetReady to CXFA_Node
This CL moves the widget_acc storage and the is_widget_ready flag from CXFA_Object to CXFA_Node. Change-Id: I96aeb38a854f227985a5549dc67f1b84d924abb8 Reviewed-on: https://pdfium-review.googlesource.com/23330 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_object.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_object.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_object.cpp b/xfa/fxfa/parser/cxfa_object.cpp
index 0c866d350a..a716c651f5 100644
--- a/xfa/fxfa/parser/cxfa_object.cpp
+++ b/xfa/fxfa/parser/cxfa_object.cpp
@@ -56,11 +56,6 @@ const CXFA_TreeList* CXFA_Object::AsTreeList() const {
return IsTreeList() ? static_cast<const CXFA_TreeList*>(this) : nullptr;
}
-void CXFA_Object::SetWidgetReady() {
- acc_ = pdfium::MakeUnique<CXFA_WidgetAcc>(AsNode());
- is_widget_ready_ = true;
-}
-
CXFA_Node* ToNode(CXFA_Object* pObj) {
return pObj ? pObj->AsNode() : nullptr;
}