diff options
author | dsinclair <dsinclair@chromium.org> | 2016-05-26 08:41:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-26 08:41:45 -0700 |
commit | dd6a46c7eddc31d29b2d2630378c52c25363ce59 (patch) | |
tree | 8de9ff2f47bf3130eb5eee7fb39eff4251b3d90b /xfa/fxjse/cfxjse_arguments.h | |
parent | 25fa42f398d1f8007aa36531e0436dc769817ad3 (diff) | |
download | pdfium-dd6a46c7eddc31d29b2d2630378c52c25363ce59.tar.xz |
Revert of Remove parameters which are always null (patchset #1 id:1 of https://codereview.chromium.org/2009413002/ )
Reason for revert:
Suspect that the lack of this parameter being
passed accurately to GetObject is leading to
https://bugs.chromium.org/p/chromium/issues/detail?id=613607, and that the right
fix will be to pass it.
Original issue's description:
> Remove parameters which are always null
>
> These parameters are never set, remove them and their supporting code.
>
> Committed: https://pdfium.googlesource.com/pdfium/+/818e1900a3811e1bde1e594e4966db612f845966
TBR=tsepez@chromium.org,thestig@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review-Url: https://codereview.chromium.org/2014863002
Diffstat (limited to 'xfa/fxjse/cfxjse_arguments.h')
-rw-r--r-- | xfa/fxjse/cfxjse_arguments.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxjse/cfxjse_arguments.h b/xfa/fxjse/cfxjse_arguments.h index d7b6734e14..423e22d888 100644 --- a/xfa/fxjse/cfxjse_arguments.h +++ b/xfa/fxjse/cfxjse_arguments.h @@ -18,7 +18,7 @@ class CFXJSE_Arguments { int32_t GetInt32(int32_t index) const; FX_FLOAT GetFloat(int32_t index) const; CFX_ByteString GetUTF8String(int32_t index) const; - void* GetObject(int32_t index) const; + void* GetObject(int32_t index, FXJSE_HCLASS hClass = nullptr) const; FXJSE_HVALUE GetReturnValue(); }; |