Index: fpdfsdk/src/javascript/JS_Runtime.h |
diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h |
index db77eeb8eddfae3b5e601dc59e01a9c48d7e1a59..9e6b3abede827cdcc873f451d5740c121e085380 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" |
@@ -77,6 +78,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; |
}; |