summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-11-29 10:32:35 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-29 10:32:35 -0800
commitf11380fc01cc17f05a34859d34c42b495c8ef8be (patch)
treefdb1c9937469cccef22e199c41110245ee02a480 /xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp
parent708ef623c2e989a9ad909bf0c94a7dff89694412 (diff)
downloadpdfium-f11380fc01cc17f05a34859d34c42b495c8ef8be.tar.xz
Use unique_ptr in CFXA_FM expressions constructorschromium/2937
Review-Url: https://codereview.chromium.org/2534143003
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp')
-rw-r--r--xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp b/xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp
index d54921f99a..7826d9b53c 100644
--- a/xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp
+++ b/xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp
@@ -19,7 +19,7 @@ TEST(FMCallExpression, more_than_32_arguments) {
for (size_t i = 0; i < 50; i++)
args.push_back(pdfium::MakeUnique<CXFA_FMSimpleExpression>(0, TOKnan));
- CXFA_FMCallExpression callExp(0, exp.release(), std::move(args), true);
+ CXFA_FMCallExpression callExp(0, std::move(exp), std::move(args), true);
CFX_WideTextBuf js;
callExp.ToJavaScript(js);