Index: fpdfsdk/javascript/Document.cpp |
diff --git a/fpdfsdk/javascript/Document.cpp b/fpdfsdk/javascript/Document.cpp |
index 9fc99f5e10c5a82b5240abb077ea97d5d0280fa0..d1b614877680dcf42d545623a314dae0af28ecc1 100644 |
--- a/fpdfsdk/javascript/Document.cpp |
+++ b/fpdfsdk/javascript/Document.cpp |
@@ -1695,8 +1695,8 @@ FX_BOOL Document::gotoNamedDest(IJS_Context* cc, |
pRuntime->BeginBlock(); |
CPDFSDK_Environment* pApp = m_pDocument->GetEnv(); |
- pApp->FFI_DoGoToAction(dest.GetPageIndex(pDocument), dest.GetZoomMode(), |
- scrollPositionArray.get(), scrollPositionArraySize); |
+ pApp->DoGoToAction(dest.GetPageIndex(pDocument), dest.GetZoomMode(), |
+ scrollPositionArray.get(), scrollPositionArraySize); |
pRuntime->EndBlock(); |
return TRUE; |