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 2b7cb3767f..8cbec38fc6 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; |