diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-06 09:49:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-06 09:49:32 -0700 |
commit | 884b4f942d510974e713361b84a717340eb928b9 (patch) | |
tree | 712d15560e345be172f2e6c71a5f2bd85fe5e663 /fpdfsdk/javascript/cjs_context.cpp | |
parent | f7e108b2d0c2f67a143e99693df084bfff7037ec (diff) | |
download | pdfium-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/cjs_context.cpp')
-rw-r--r-- | fpdfsdk/javascript/cjs_context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/cjs_context.cpp b/fpdfsdk/javascript/cjs_context.cpp index c8630ab32d..b844dc6e5c 100644 --- a/fpdfsdk/javascript/cjs_context.cpp +++ b/fpdfsdk/javascript/cjs_context.cpp @@ -51,7 +51,7 @@ FX_BOOL CJS_Context::RunScript(const CFX_WideString& script, CFX_WideString sErrorMessage; int nRet = 0; if (script.GetLength() > 0) { - nRet = m_pRuntime->Execute(this, script.c_str(), &sErrorMessage); + nRet = m_pRuntime->Execute(script.c_str(), &sErrorMessage); } if (nRet < 0) { |