diff options
author | tsepez <tsepez@chromium.org> | 2016-12-08 15:21:40 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-08 15:21:40 -0800 |
commit | 94afac986c9d6232b7791acff4f23d99fbd004ae (patch) | |
tree | fb6ba0181a44f91bc321989da6ef2fa3b48a7021 /xfa/fxfa/fm2js/xfa_program.cpp | |
parent | 89ab499024b1f362b1d40dabd9fadded8b095203 (diff) | |
download | pdfium-94afac986c9d6232b7791acff4f23d99fbd004ae.tar.xz |
Replace CFX_WideStringCArray with std::vector.chromium/2946
Review-Url: https://codereview.chromium.org/2562833002
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_program.cpp')
-rw-r--r-- | xfa/fxfa/fm2js/xfa_program.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/fm2js/xfa_program.cpp b/xfa/fxfa/fm2js/xfa_program.cpp index 4d37f74767..514b7a6a23 100644 --- a/xfa/fxfa/fm2js/xfa_program.cpp +++ b/xfa/fxfa/fm2js/xfa_program.cpp @@ -26,8 +26,9 @@ int32_t CXFA_FMProgram::ParseProgram() { if (!m_pErrorInfo.message.IsEmpty()) return -1; + std::vector<CFX_WideStringC> arguments; m_globalFunction = pdfium::MakeUnique<CXFA_FMFunctionDefinition>( - 1, true, L"", nullptr, std::move(expressions)); + 1, true, L"", std::move(arguments), std::move(expressions)); return 0; } |