Index: fpdfsdk/src/javascript/JS_Runtime.h |
diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h |
index 2b7cb3767f84e305f1cb19657a8c7bc8b654b130..8cbec38fc633124e13ca40b6d50f55b80cecf381 100644 |
--- a/fpdfsdk/src/javascript/JS_Runtime.h |
+++ b/fpdfsdk/src/javascript/JS_Runtime.h |
@@ -29,6 +29,8 @@ class CJS_Runtime : public IJS_Runtime { |
using FieldEvent = std::pair<CFX_WideString, JS_EVENT_T>; |
+ static CJS_Runtime* FromContext(const IJS_Context* cc); |
+ |
explicit CJS_Runtime(CPDFDoc_Environment* pApp); |
~CJS_Runtime() override; |