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/parser/cxfa_scriptcontext.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/parser/cxfa_scriptcontext.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_scriptcontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_scriptcontext.cpp b/xfa/fxfa/parser/cxfa_scriptcontext.cpp index cf6cb14fb9..cf6467e240 100644 --- a/xfa/fxfa/parser/cxfa_scriptcontext.cpp +++ b/xfa/fxfa/parser/cxfa_scriptcontext.cpp @@ -72,7 +72,7 @@ const FXJSE_CLASS_DESCRIPTOR VariablesClassDescriptor = { CXFA_ScriptContext::NormalMethodCall, }; -const char kFormCalcRuntime[] = "foxit_xfa_formcalc_runtime"; +const char kFormCalcRuntime[] = "pfm_rt"; CXFA_ThisProxy* ToThisProxy(CFXJSE_Value* pValue, CFXJSE_Class* pClass) { return static_cast<CXFA_ThisProxy*>(pValue->ToHostObject(pClass)); |