summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/app.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-14 10:38:17 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-14 10:38:17 -0700
commit1f2489023f2b808c41071d992abceb646ade8e1b (patch)
tree34fedda2eeb4f5f98397d5ec81a3f9b46d5c8d51 /fpdfsdk/javascript/app.cpp
parent8b1ed16144925205a34e3796b57db72dd6ee6a89 (diff)
downloadpdfium-1f2489023f2b808c41071d992abceb646ade8e1b.tar.xz
Remove FFI_ from CPDFSDK_Environment method names
The prefix doesn't add anything when used in CPDFSDK_Environment, remove. Review-Url: https://codereview.chromium.org/2338303002
Diffstat (limited to 'fpdfsdk/javascript/app.cpp')
-rw-r--r--fpdfsdk/javascript/app.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/app.cpp b/fpdfsdk/javascript/app.cpp
index 0f11609fe7..6e5dc4a2c7 100644
--- a/fpdfsdk/javascript/app.cpp
+++ b/fpdfsdk/javascript/app.cpp
@@ -325,7 +325,7 @@ FX_BOOL app::platform(IJS_Context* cc,
static_cast<CJS_Context*>(cc)->GetJSRuntime()->GetReaderApp();
if (!pEnv)
return FALSE;
- CFX_WideString platfrom = pEnv->FFI_GetPlatform();
+ CFX_WideString platfrom = pEnv->GetPlatform();
if (!platfrom.IsEmpty()) {
vp << platfrom;
return TRUE;
@@ -345,7 +345,7 @@ FX_BOOL app::language(IJS_Context* cc,
static_cast<CJS_Context*>(cc)->GetJSRuntime()->GetReaderApp();
if (!pEnv)
return FALSE;
- CFX_WideString language = pEnv->FFI_GetLanguage();
+ CFX_WideString language = pEnv->GetLanguage();
if (!language.IsEmpty()) {
vp << language;
return TRUE;