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/app/xfa_ffdochandler.cpp | |
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/app/xfa_ffdochandler.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_ffdochandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_ffdochandler.cpp b/xfa/fxfa/app/xfa_ffdochandler.cpp index 389e5ac6da..4a78f4fab1 100644 --- a/xfa/fxfa/app/xfa_ffdochandler.cpp +++ b/xfa/fxfa/app/xfa_ffdochandler.cpp @@ -56,6 +56,5 @@ FX_BOOL CXFA_FFDocHandler::RunDocScript(CXFA_FFDoc* hDoc, return pScriptContext->RunScript( (XFA_SCRIPTLANGTYPE)eScriptType, wsScript, hRetValue, - hThisObject ? (CXFA_Object*)FXJSE_Value_ToObject(hThisObject, nullptr) - : nullptr); + hThisObject ? (CXFA_Object*)FXJSE_Value_ToObject(hThisObject) : nullptr); } |