From 94afac986c9d6232b7791acff4f23d99fbd004ae Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 8 Dec 2016 15:21:40 -0800 Subject: Replace CFX_WideStringCArray with std::vector. Review-Url: https://codereview.chromium.org/2562833002 --- xfa/fxfa/fm2js/xfa_expression.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xfa/fxfa/fm2js/xfa_expression.h') diff --git a/xfa/fxfa/fm2js/xfa_expression.h b/xfa/fxfa/fm2js/xfa_expression.h index a19df268b8..6b55ea5815 100644 --- a/xfa/fxfa/fm2js/xfa_expression.h +++ b/xfa/fxfa/fm2js/xfa_expression.h @@ -40,13 +40,13 @@ class CXFA_FMExpression { class CXFA_FMFunctionDefinition : public CXFA_FMExpression { public: - // Takes ownership of |pExpressions|. + // Takes ownership of |arguments| and |expressions|. CXFA_FMFunctionDefinition( uint32_t line, bool isGlobal, const CFX_WideStringC& wsName, - std::unique_ptr pArguments, - std::vector>&& pExpressions); + std::vector&& arguments, + std::vector>&& expressions); ~CXFA_FMFunctionDefinition() override; void ToJavaScript(CFX_WideTextBuf& javascript) override; @@ -54,7 +54,7 @@ class CXFA_FMFunctionDefinition : public CXFA_FMExpression { private: CFX_WideStringC m_wsName; - std::unique_ptr m_pArguments; + std::vector m_pArguments; std::vector> m_pExpressions; bool m_isGlobal; }; -- cgit v1.2.3