Index: fpdfsdk/javascript/app.cpp |
diff --git a/fpdfsdk/javascript/app.cpp b/fpdfsdk/javascript/app.cpp |
index 0f11609fe75d7f73f5d4040ba9fd0aee55850b77..6e5dc4a2c78b03cc49c9311fd2ec4e0f418b9ad3 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; |