summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_object.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-08 15:12:10 -0500
committerChromium commit bot <commit-bot@chromium.org>2018-01-08 20:34:05 +0000
commit94fc2af0c9a800f39e4dbcac859f1ad490f7d725 (patch)
tree3543b5cd38104b00027adde5a8bfe1f5152360c1 /fxjs/xfa/cjx_object.h
parent625de446907e8720f0114422683b78a898dd6878 (diff)
downloadpdfium-94fc2af0c9a800f39e4dbcac859f1ad490f7d725.tar.xz
Move CXFA_WidgetAcc from CJX_Object to CXFA_Object
This CL change the CJX code to not store the pointer to the CXFA_WidgetAcc. If needed the CJX object gets the Acc from the Node itself. Change-Id: I5a5a500b8fbc1749d362346d72678acd5250d112 Reviewed-on: https://pdfium-review.googlesource.com/22411 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_object.h')
-rw-r--r--fxjs/xfa/cjx_object.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/fxjs/xfa/cjx_object.h b/fxjs/xfa/cjx_object.h
index 2718f1738c..87a164ff8b 100644
--- a/fxjs/xfa/cjx_object.h
+++ b/fxjs/xfa/cjx_object.h
@@ -17,7 +17,6 @@
#include "core/fxcrt/xml/cfx_xmlelement.h"
#include "fxjs/CJX_Define.h"
#include "third_party/base/optional.h"
-#include "xfa/fxfa/cxfa_widgetacc.h"
#include "xfa/fxfa/fxfa_basic.h"
class CFXJSE_Value;
@@ -64,11 +63,6 @@ class CJX_Object {
CXFA_Document* GetDocument() const;
- void SetWidgetAcc(std::unique_ptr<CXFA_WidgetAcc> data) {
- widget_data_ = std::move(data);
- }
- CXFA_WidgetAcc* GetWidgetAcc() const { return widget_data_.get(); }
-
void SetCalcRecursionCount(size_t count) { calc_recursion_count_ = count; }
size_t GetCalcRecursionCount() const { return calc_recursion_count_; }
@@ -271,7 +265,6 @@ class CJX_Object {
UnownedPtr<CXFA_Object> object_;
UnownedPtr<CXFA_LayoutItem> layout_item_;
- std::unique_ptr<CXFA_WidgetAcc> widget_data_;
std::unique_ptr<XFA_MAPMODULEDATA> map_module_data_;
std::unique_ptr<CXFA_CalcData> calc_data_;
std::map<ByteString, CJX_MethodCall> method_specs_;