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/ijs_runtime.h | |
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/ijs_runtime.h')
-rw-r--r-- | fpdfsdk/javascript/ijs_runtime.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/ijs_runtime.h b/fpdfsdk/javascript/ijs_runtime.h index ef80feb820..19a440e6ed 100644 --- a/fpdfsdk/javascript/ijs_runtime.h +++ b/fpdfsdk/javascript/ijs_runtime.h @@ -30,9 +30,7 @@ class IJS_Runtime { virtual IJS_Context* GetCurrentContext() = 0; virtual void SetReaderDocument(CPDFSDK_Document* pReaderDoc) = 0; virtual CPDFSDK_Document* GetReaderDocument() = 0; - virtual int Execute(IJS_Context* cc, - const wchar_t* script, - CFX_WideString* info) = 0; + virtual int Execute(const CFX_WideString& script, CFX_WideString* info) = 0; #ifdef PDF_ENABLE_XFA virtual FX_BOOL GetValueByName(const CFX_ByteStringC& utf8Name, |