summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_valuearray.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-03-27 16:03:43 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-03-28 13:58:08 +0000
commit369fe1f7f9f3a424ee3cf8f992c3128db27fa479 (patch)
treea263d96bf4b45e572157d1c093dc321d941be3fd /xfa/fxfa/parser/cxfa_valuearray.h
parent1ded376f257f0894d68a0be68d0628171792e823 (diff)
downloadpdfium-369fe1f7f9f3a424ee3cf8f992c3128db27fa479.tar.xz
Remove CFX_ArrayTemplate in CXFA_ValueArray
Change-Id: I68f317b9fb9b162a5d99cdacc619c85f96a5bf52 Reviewed-on: https://pdfium-review.googlesource.com/3239 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_valuearray.h')
-rw-r--r--xfa/fxfa/parser/cxfa_valuearray.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_valuearray.h b/xfa/fxfa/parser/cxfa_valuearray.h
index 48efae4774..f0c5d234c9 100644
--- a/xfa/fxfa/parser/cxfa_valuearray.h
+++ b/xfa/fxfa/parser/cxfa_valuearray.h
@@ -7,12 +7,13 @@
#ifndef XFA_FXFA_PARSER_CXFA_VALUEARRAY_H_
#define XFA_FXFA_PARSER_CXFA_VALUEARRAY_H_
+#include <memory>
#include <vector>
#include "fxjs/cfxjse_value.h"
#include "xfa/fxfa/fxfa.h"
-class CXFA_ValueArray : public CFX_ArrayTemplate<CFXJSE_Value*> {
+class CXFA_ValueArray {
public:
explicit CXFA_ValueArray(v8::Isolate* pIsolate);
~CXFA_ValueArray();
@@ -20,6 +21,7 @@ class CXFA_ValueArray : public CFX_ArrayTemplate<CFXJSE_Value*> {
std::vector<CXFA_Object*> GetAttributeObject();
v8::Isolate* const m_pIsolate;
+ std::vector<std::unique_ptr<CFXJSE_Value>> m_Values;
};
#endif // XFA_FXFA_PARSER_CXFA_VALUEARRAY_H_