summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_list.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-12-13 21:57:12 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-13 21:57:12 +0000
commit604f5b9e042267cffd8949f309a86c370a3d01d4 (patch)
tree4d671f259e0c423ae012dc831c7165c4a32e89a5 /xfa/fxfa/parser/cxfa_list.h
parent2614250d4f11ed02033a7da095a1694ece12ab78 (diff)
downloadpdfium-604f5b9e042267cffd8949f309a86c370a3d01d4.tar.xz
Refactor CFXA_*List constructorschromium/3294
This removes the double adding to the cache list in the engine that is occuring for TreeList. It also sets the correct TreeList specific values at the Object level. BUG=pdfium:665 Change-Id: Ie972daee4c638f34ad207f6502dc6d34cbebf1b6 Reviewed-on: https://pdfium-review.googlesource.com/21171 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_list.h')
-rw-r--r--xfa/fxfa/parser/cxfa_list.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_list.h b/xfa/fxfa/parser/cxfa_list.h
index 2141a8fb10..5736747dba 100644
--- a/xfa/fxfa/parser/cxfa_list.h
+++ b/xfa/fxfa/parser/cxfa_list.h
@@ -25,6 +25,11 @@ class CXFA_List : public CXFA_Object {
protected:
CXFA_List(CXFA_Document* doc, std::unique_ptr<CJX_Object> js_obj);
+ CXFA_List(CXFA_Document* pDocument,
+ XFA_ObjectType objectType,
+ XFA_Element eType,
+ const WideStringView& elementName,
+ std::unique_ptr<CJX_Object> obj);
};
#endif // XFA_FXFA_PARSER_CXFA_LIST_H_