diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-04-25 12:43:13 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-25 20:31:57 +0000 |
commit | 80547a165adf250f31ade57544771201bbc2690c (patch) | |
tree | 1c1669fdcbc6d2fc443172142b80c03cd1a4972a /fxjs/cfxjse_arguments.h | |
parent | 233360e3ea0d6d4acea76a7d9e7ce7700ea80b1a (diff) | |
download | pdfium-80547a165adf250f31ade57544771201bbc2690c.tar.xz |
Use unique_ptr in CXFA_ScriptContext::m_mapVariableToContext.
Remove unused CFXJSE_Arguments::GetRuntime().
Remove some default argument values.
Make members of CFXJSE_Context private.
Change-Id: Id21951f7d8d68929b2799a9d6a2cdd7a3677f52a
Reviewed-on: https://pdfium-review.googlesource.com/4493
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_arguments.h')
-rw-r--r-- | fxjs/cfxjse_arguments.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fxjs/cfxjse_arguments.h b/fxjs/cfxjse_arguments.h index 4f18082f84..beaf1525bb 100644 --- a/fxjs/cfxjse_arguments.h +++ b/fxjs/cfxjse_arguments.h @@ -9,17 +9,15 @@ #include <memory> +#include "fxjs/cfxjse_class.h" #include "fxjs/fxjse.h" -class CFXJSE_Class; - class CFXJSE_Arguments { public: CFXJSE_Arguments(const v8::FunctionCallbackInfo<v8::Value>* pInfo, CFXJSE_Value* pRetValue) : m_pInfo(pInfo), m_pRetValue(pRetValue) {} - v8::Isolate* GetRuntime() const; int32_t GetLength() const; std::unique_ptr<CFXJSE_Value> GetValue(int32_t index) const; bool GetBoolean(int32_t index) const; |