diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-07-15 16:35:53 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-07-15 16:35:53 -0700 |
commit | 75f43c4c0a733d267122120af26631ded87c8af2 (patch) | |
tree | 6ace52e9b5c8c1b63d09915d3d365ae8adabc059 /fpdfsdk/src/fpdf_progressive.cpp | |
parent | 9f46555e0702a37287c06b07b83bb98611f0b2f0 (diff) | |
download | pdfium-75f43c4c0a733d267122120af26631ded87c8af2.tar.xz |
Merge to XFA: Kill Func_Renderpage global function pointer.
(cherry picked from commit e3db14f4d0e11ed30bd7e014ffa8cea9d6fb93ad)
Original Review URL: https://codereview.chromium.org/1233203004 .
R=thestig@chromium.org
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/1236383003 .
Diffstat (limited to 'fpdfsdk/src/fpdf_progressive.cpp')
-rw-r--r-- | fpdfsdk/src/fpdf_progressive.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/fpdfsdk/src/fpdf_progressive.cpp b/fpdfsdk/src/fpdf_progressive.cpp index f94bce046e..f47cd7dde6 100644 --- a/fpdfsdk/src/fpdf_progressive.cpp +++ b/fpdfsdk/src/fpdf_progressive.cpp @@ -11,11 +11,6 @@ #include "../include/fpdfxfa/fpdfxfa_doc.h" #include "../include/fpdfxfa/fpdfxfa_page.h" -extern void (*Func_RenderPage)( CRenderContext*, FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, - int rotate, int flags,FX_BOOL bNeedToRestore, IFSDK_PAUSE_Adapter * pause ); - -extern void DropContext(void* data); - DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start( FPDF_BITMAP bitmap, FPDF_PAGE page, int start_x, int start_y, int size_x, int size_y, int rotate, int flags, @@ -53,7 +48,8 @@ DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start( FPDF_BITMAP bitmap, FPDF_PAGE #endif IFSDK_PAUSE_Adapter IPauseAdapter(pause); - Func_RenderPage(pContext, page, start_x, start_y, size_x, size_y, rotate, flags,FALSE, &IPauseAdapter); + FPDF_RenderPage_Retail(pContext, page, start_x, start_y, size_x, size_y, + rotate, flags,FALSE, &IPauseAdapter); if ( pContext->m_pRenderer ) { |