From cc48741d63e216b3030fc2e452b6cf07481596ea Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 22 Feb 2018 19:50:16 +0000 Subject: Jumbo fixes Change-Id: I5b81a483c57b97598a0d36ceaebc382016e95ae3 Reviewed-on: https://pdfium-review.googlesource.com/27591 Reviewed-by: Lei Zhang Commit-Queue: dsinclair --- xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp index e8149ebfaf..3ff2b411f9 100644 --- a/xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp +++ b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp @@ -25,6 +25,7 @@ TEST(FMCallExpressionTest, more_than_32_arguments) { CXFA_FMToJavaScriptDepth::Reset(); CXFA_FMCallExpression callExp(std::move(exp), std::move(args), true); + CFX_WideTextBuf js; callExp.ToJavaScript(js, ReturnType::kInfered); @@ -49,8 +50,7 @@ TEST(FMCallExpressionTest, more_than_32_arguments) { TEST(FMStringExpressionTest, Empty) { CXFA_FMToJavaScriptDepth::Reset(); CFX_WideTextBuf accumulator; - CXFA_FMStringExpression(WideStringView()) - .ToJavaScript(accumulator, ReturnType::kInfered); + CXFA_FMStringExpression(L"").ToJavaScript(accumulator, ReturnType::kInfered); EXPECT_EQ(L"", accumulator.AsStringView()); } -- cgit v1.2.3