summaryrefslogtreecommitdiff
path: root/fxjs/xfa
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-23 19:39:24 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-23 19:39:24 +0000
commit9f53dc093a9d00342ea76ecc0b4c8c84357ffd6e (patch)
tree707da4542ab409dfbed36607a59fdab9f256ef44 /fxjs/xfa
parent2dcf20fa8d3035f4366178654abbfbc95aa9e799 (diff)
downloadpdfium-9f53dc093a9d00342ea76ecc0b4c8c84357ffd6e.tar.xz
Remove second argument to CFXJSE_Engine::ToObject()
It, too, is always passed as nullptr. Change-Id: I2573bea4cc33f48c13979026ea8ae42b368ce8a5 Reviewed-on: https://pdfium-review.googlesource.com/38590 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/xfa')
-rw-r--r--fxjs/xfa/cjx_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_tree.cpp b/fxjs/xfa/cjx_tree.cpp
index 8971ef989b..3a266eb450 100644
--- a/fxjs/xfa/cjx_tree.cpp
+++ b/fxjs/xfa/cjx_tree.cpp
@@ -242,7 +242,7 @@ void CJX_Tree::ResolveNodeList(CFXJSE_Value* pValue,
(jsObject->*(resolveNodeRS.pScriptAttribute->callback))(
pValue.get(), false, resolveNodeRS.pScriptAttribute->attribute);
- CXFA_Object* obj = CFXJSE_Engine::ToObject(pValue.get(), nullptr);
+ CXFA_Object* obj = CFXJSE_Engine::ToObject(pValue.get());
if (obj->IsNode())
pNodeList->Append(obj->AsNode());
}