Index: fpdfsdk/javascript/JS_Runtime_Stub.cpp |
diff --git a/fpdfsdk/javascript/JS_Runtime_Stub.cpp b/fpdfsdk/javascript/JS_Runtime_Stub.cpp |
index e94f8c77807fd83edf5a6e789eba93ae4ac86c61..49309003371771579fb04d63b9347d769b24cc30 100644 |
--- a/fpdfsdk/javascript/JS_Runtime_Stub.cpp |
+++ b/fpdfsdk/javascript/JS_Runtime_Stub.cpp |
@@ -148,9 +148,7 @@ class CJS_RuntimeStub final : public IJS_Runtime { |
} |
#endif // PDF_ENABLE_XFA |
- int Execute(IJS_Context* cc, |
- const wchar_t* script, |
- CFX_WideString* info) override { |
+ int Execute(const CFX_WideString& script, CFX_WideString* info) override { |
return 0; |
} |