summaryrefslogtreecommitdiff
path: root/xfa/fxjse/runtime.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-17 16:24:34 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-17 16:24:34 -0700
commit56286b311543331d02fee90b832d66389a307961 (patch)
tree250cc5a2eed0a796115316511a9917e2af3814e5 /xfa/fxjse/runtime.h
parent0c268e941972fd808d06033b68e22ec2c6648188 (diff)
downloadpdfium-56286b311543331d02fee90b832d66389a307961.tar.xz
Remove some CFX_ArrayTemplate<> usage from fxjse
Allows use of otherwise incompatible unique_ptrs. Review-Url: https://codereview.chromium.org/1992513002
Diffstat (limited to 'xfa/fxjse/runtime.h')
-rw-r--r--xfa/fxjse/runtime.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxjse/runtime.h b/xfa/fxjse/runtime.h
index 43629e3771..1240089be4 100644
--- a/xfa/fxjse/runtime.h
+++ b/xfa/fxjse/runtime.h
@@ -7,6 +7,8 @@
#ifndef XFA_FXJSE_RUNTIME_H_
#define XFA_FXJSE_RUNTIME_H_
+#include <vector>
+
#include "core/fxcrt/include/fx_basic.h"
#include "v8/include/v8.h"
@@ -45,7 +47,7 @@ class CFXJSE_RuntimeList {
void RemoveAllRuntimes(RuntimeDisposeCallback lpfnDisposeCallback);
protected:
- CFX_ArrayTemplate<v8::Isolate*> m_RuntimeList;
+ std::vector<v8::Isolate*> m_RuntimeList;
};
#endif // XFA_FXJSE_RUNTIME_H_