summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/JS_Runtime_Stub.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-06 09:49:32 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-06 09:49:32 -0700
commit884b4f942d510974e713361b84a717340eb928b9 (patch)
tree712d15560e345be172f2e6c71a5f2bd85fe5e663 /fpdfsdk/javascript/JS_Runtime_Stub.cpp
parentf7e108b2d0c2f67a143e99693df084bfff7037ec (diff)
downloadpdfium-884b4f942d510974e713361b84a717340eb928b9.tar.xz
Remove unused context param from execute.
The IJS_Context parameter is never used, removed. Review-Url: https://codereview.chromium.org/2035743002
Diffstat (limited to 'fpdfsdk/javascript/JS_Runtime_Stub.cpp')
-rw-r--r--fpdfsdk/javascript/JS_Runtime_Stub.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/JS_Runtime_Stub.cpp b/fpdfsdk/javascript/JS_Runtime_Stub.cpp
index e94f8c7780..4930900337 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;
}