summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/JS_Value.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-11-11 10:16:52 -0800
committerLei Zhang <thestig@chromium.org>2015-11-11 10:16:52 -0800
commitdd734def34bc31be370b168267ccba9705c7fc1b (patch)
treed486a83c2bfc7720bd6df0d823fd80bab567810e /fpdfsdk/src/javascript/JS_Value.h
parent4231e56531dc48d910b9e66dcbe6cde78df35c39 (diff)
downloadpdfium-dd734def34bc31be370b168267ccba9705c7fc1b.tar.xz
Merge to XFA: Cleanup CPDF_ApSettings and CJS_Parameters.
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1432863004 . (cherry picked from commit 56e3da27d8bed8a6c03274b7b946e3f6d6ac11f4) Review URL: https://codereview.chromium.org/1436843003 .
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Value.h')
-rw-r--r--fpdfsdk/src/javascript/JS_Value.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/fpdfsdk/src/javascript/JS_Value.h b/fpdfsdk/src/javascript/JS_Value.h
index b8c5563f70..68e643e055 100644
--- a/fpdfsdk/src/javascript/JS_Value.h
+++ b/fpdfsdk/src/javascript/JS_Value.h
@@ -88,13 +88,7 @@ class CJS_Value {
CJS_Runtime* m_pJSRuntime;
};
-class CJS_Parameters : public CFX_ArrayTemplate<CJS_Value> {
- public:
- void push_back(const CJS_Value& newElement) {
- CFX_ArrayTemplate<CJS_Value>::Add(newElement);
- }
- int size() const { return CFX_ArrayTemplate<CJS_Value>::GetSize(); }
-};
+using CJS_Parameters = std::vector<CJS_Value>;
class CJS_PropValue : public CJS_Value {
public: