summaryrefslogtreecommitdiff
path: root/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-17 10:24:35 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-17 20:50:23 +0000
commitf8afce64b4226cfc38d4150dbe28c1964effa015 (patch)
treec365bda63efc168b57225b3c4f34c813c38e0449 /xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h
parenta3cf977f974c67bd2cef8dee5b810784bfc21336 (diff)
downloadpdfium-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.h')
-rw-r--r--xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h
index e6d39419ed..8cdaf35b0f 100644
--- a/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h
+++ b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.h
@@ -13,9 +13,8 @@
#include "core/fxcrt/fx_basic.h"
#include "xfa/fxfa/fm2js/cxfa_fmlexer.h"
-#define RUNTIMEFUNCTIONRETURNVALUE \
- (L"foxit_xfa_formcalc_runtime_func_return_value")
-#define EXCLAMATION_IN_IDENTIFIER (L"foxit_xfa_formcalc__exclamation__")
+#define RUNTIMEFUNCTIONRETURNVALUE L"pfm_ret"
+#define EXCLAMATION_IN_IDENTIFIER L"pfm__excl__"
enum XFA_FM_SimpleExpressionType {
ASSIGN,