diff options
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Runtime.h')
-rw-r--r-- | fpdfsdk/src/javascript/JS_Runtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h index 86e425ebe8..c259a4188e 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; |