diff options
author | jinming_wang <jinming_wang@foxitsoftware.com> | 2016-03-18 16:35:40 +0800 |
---|---|---|
committer | jinming_wang <jinming_wang@foxitsoftware.com> | 2016-03-18 16:35:40 +0800 |
commit | a1cef70c08a16e2b9d7ec14987a8b20660d83534 (patch) | |
tree | baf5d5e71a2d33fca8793288e97e77a28a00f6ac /fpdfsdk/include/fsdk_mgr.h | |
parent | 900323a8857ce0d9f6a57e535cd864b0f649bb9c (diff) | |
download | pdfium-a1cef70c08a16e2b9d7ec14987a8b20660d83534.tar.xz |
Trigger page view event when re-layout is finished
BUG=pdfium:401
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1758553003 .
Diffstat (limited to 'fpdfsdk/include/fsdk_mgr.h')
-rw-r--r-- | fpdfsdk/include/fsdk_mgr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h index 88b539f7e7..b80e797f18 100644 --- a/fpdfsdk/include/fsdk_mgr.h +++ b/fpdfsdk/include/fsdk_mgr.h @@ -398,9 +398,9 @@ class CPDFDoc_Environment final { return L""; } - void FFI_PageEvent(int iPageIndex, FX_DWORD dwEventType) const { + void FFI_PageEvent(int iPageCount, FX_DWORD dwEventType) const { if (m_pInfo && m_pInfo->FFI_PageEvent) - m_pInfo->FFI_PageEvent(m_pInfo, iPageIndex, dwEventType); + m_pInfo->FFI_PageEvent(m_pInfo, iPageCount, dwEventType); } #endif // PDF_ENABLE_XFA |