diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-05-17 10:24:35 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-17 20:50:23 +0000 |
commit | f8afce64b4226cfc38d4150dbe28c1964effa015 (patch) | |
tree | c365bda63efc168b57225b3c4f34c813c38e0449 /xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp | |
parent | a3cf977f974c67bd2cef8dee5b810784bfc21336 (diff) | |
download | pdfium-f8afce64b4226cfc38d4150dbe28c1964effa015.tar.xz |
Shorten internal JS prefixes.
This Cl shortens the prefix applied in JavaScript to reduce the size of
the generated JavaScript string.
Change-Id: Ica5d02cc89b17140ba42deae72484cd159f8e3e5
Reviewed-on: https://pdfium-review.googlesource.com/5590
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp')
-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 f11459b107..18a67f4c39 100644 --- a/xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp +++ b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression_unittest.cpp @@ -31,12 +31,12 @@ TEST(FMCallExpressionTest, more_than_32_arguments) { if (i > 0) result += L", "; - result += L"foxit_xfa_formcalc_runtime.get_fm_"; + result += L"pfm_rt.get_"; // Object positions for sign() method. if (i == 0 || i == 5 || i == 6) result += L"jsobj()"; else - result += L"value()"; + result += L"val()"; } result += L")"; |