Index: fpdfsdk/src/javascript/JS_Runtime.h |
diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h |
index 4a55c2e9e6c303ee1b0a5d20b949a42120a5aea4..1bdd8e6fdd022d175c61ee9121ed10f508d1b57a 100644 |
--- a/fpdfsdk/src/javascript/JS_Runtime.h |
+++ b/fpdfsdk/src/javascript/JS_Runtime.h |
@@ -9,6 +9,7 @@ |
#include <set> |
#include <utility> |
+#include <vector> |
#include "../../include/javascript/IJavaScript.h" |
#include "../../include/jsapi/fxjs_v8.h" |
@@ -71,6 +72,7 @@ class CJS_Runtime : public IJS_Runtime { |
v8::Isolate* m_isolate; |
bool m_isolateManaged; |
v8::Global<v8::Context> m_context; |
+ std::vector<v8::Global<v8::Object>*> m_StaticObjects; |
std::set<Observer*> m_observers; |
}; |