From 818e1900a3811e1bde1e594e4966db612f845966 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 25 May 2016 19:36:59 -0700 Subject: Remove parameters which are always null These parameters are never set, remove them and their supporting code. Review-Url: https://codereview.chromium.org/2009413002 --- xfa/fxfa/app/xfa_ffdochandler.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xfa/fxfa/app/xfa_ffdochandler.cpp') 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); } -- cgit v1.2.3