diff options
author | dsinclair <dsinclair@chromium.org> | 2016-05-25 19:36:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-25 19:36:59 -0700 |
commit | 818e1900a3811e1bde1e594e4966db612f845966 (patch) | |
tree | 0c5f468fa2764d59bd81300c48bf5a0562ef70d5 /xfa/fxfa/parser/xfa_script.h | |
parent | 008ec70b47db2318a98e8474b7bfac6e10b2bc6c (diff) | |
download | pdfium-818e1900a3811e1bde1e594e4966db612f845966.tar.xz |
Remove parameters which are always null
These parameters are never set, remove them and their supporting code.
Review-Url: https://codereview.chromium.org/2009413002
Diffstat (limited to 'xfa/fxfa/parser/xfa_script.h')
-rw-r--r-- | xfa/fxfa/parser/xfa_script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/xfa_script.h b/xfa/fxfa/parser/xfa_script.h index 04cc5b9a69..d6085411b3 100644 --- a/xfa/fxfa/parser/xfa_script.h +++ b/xfa/fxfa/parser/xfa_script.h @@ -45,7 +45,7 @@ class CXFA_HVALUEArray : public CFX_ArrayTemplate<FXJSE_HVALUE> { } void GetAttributeObject(CXFA_ObjArray& objArray) { for (int32_t i = 0; i < GetSize(); i++) { - CXFA_Object* pObject = (CXFA_Object*)FXJSE_Value_ToObject(GetAt(i), NULL); + CXFA_Object* pObject = (CXFA_Object*)FXJSE_Value_ToObject(GetAt(i)); objArray.Add(pObject); } } |