diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-22 19:50:16 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-22 19:50:16 +0000 |
commit | cc48741d63e216b3030fc2e452b6cf07481596ea (patch) | |
tree | 5e427cf043a1473f02fe8dfd829c29882c723e4b | |
parent | 3185187d256ca26f2c1bf8d29196f4ac4462907e (diff) | |
download | pdfium-cc48741d63e216b3030fc2e452b6cf07481596ea.tar.xz |
Jumbo fixes
Change-Id: I5b81a483c57b97598a0d36ceaebc382016e95ae3
Reviewed-on: https://pdfium-review.googlesource.com/27591
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
-rw-r--r-- | xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp | 4 |
1 files 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()); } |