Index: fpdfsdk/javascript/cjs_runtime.h |
diff --git a/fpdfsdk/javascript/cjs_runtime.h b/fpdfsdk/javascript/cjs_runtime.h |
index cc0f6545ac4c282309f97b9302b8cab9e2093349..4181bd21c9eca90b24ac84f7031b01cd4d58d338 100644 |
--- a/fpdfsdk/javascript/cjs_runtime.h |
+++ b/fpdfsdk/javascript/cjs_runtime.h |
@@ -43,9 +43,7 @@ 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; |
+ int Execute(const CFX_WideString& script, CFX_WideString* info) override; |
CPDFDoc_Environment* GetReaderApp() const { return m_pApp; } |