Index: fpdfsdk/src/javascript/JS_Runtime.h |
diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h |
index 86e425ebe8748f9c5ec7ef74e543734b5c2073a9..c259a4188e158b83e76070aceaa4cef0bb6594d8 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; |