Index: fpdfsdk/src/javascript/JS_Runtime.h |
diff --git a/fpdfsdk/src/javascript/JS_Runtime.h b/fpdfsdk/src/javascript/JS_Runtime.h |
index 8cbec38fc633124e13ca40b6d50f55b80cecf381..d90891eff0dac93be79f30be82ee18e4d0c8d2ba 100644 |
--- a/fpdfsdk/src/javascript/JS_Runtime.h |
+++ b/fpdfsdk/src/javascript/JS_Runtime.h |
@@ -40,6 +40,9 @@ class CJS_Runtime : public IJS_Runtime { |
IJS_Context* GetCurrentContext() override; |
void SetReaderDocument(CPDFSDK_Document* pReaderDoc) override; |
CPDFSDK_Document* GetReaderDocument() override { return m_pDocument; } |
+ int Execute(IJS_Context* cc, |
+ const wchar_t* script, |
+ CFX_WideString* info) override; |
CPDFDoc_Environment* GetReaderApp() const { return m_pApp; } |