Index: fpdfsdk/javascript/Field.cpp |
diff --git a/fpdfsdk/javascript/Field.cpp b/fpdfsdk/javascript/Field.cpp |
index 33c724095cf7b1f8732fd2adb743a021022b7955..3abf0ecc7e58f6b40bc1f46e966af6c4f82a415e 100644 |
--- a/fpdfsdk/javascript/Field.cpp |
+++ b/fpdfsdk/javascript/Field.cpp |
@@ -3204,7 +3204,7 @@ FX_BOOL Field::setFocus(IJS_Context* cc, |
} else { |
CPDFSDK_Environment* pEnv = m_pDocument->GetEnv(); |
UnderlyingPageType* pPage = UnderlyingFromFPDFPage( |
- pEnv->FFI_GetCurrentPage(m_pDocument->GetUnderlyingDocument())); |
+ pEnv->GetCurrentPage(m_pDocument->GetUnderlyingDocument())); |
if (!pPage) |
return FALSE; |
if (CPDFSDK_PageView* pCurPageView = |