diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-09-14 19:51:10 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-14 19:51:10 +0000 |
commit | 59d2a590a5fc061663fec0a1543b608e8af9eec9 (patch) | |
tree | 8e262b0c37cf68a6194199c14b98203e4e292afa /fpdfsdk/cpdfsdk_helpers.h | |
parent | 4dc8c50f81bd78711bcfb432629800b8683102b6 (diff) | |
download | pdfium-59d2a590a5fc061663fec0a1543b608e8af9eec9.tar.xz |
Rename FPDF_RenderPage_Retail() to RenderPageWithContext()chromium/3553
Removing the FPDF_ prefix also makes it more obvious that this is
not a public/ entry point. No functional changes.
Bug: pdfium:1149
Change-Id: I6d68d7951cbfc65128339e237017e7b4bc965635
Reviewed-on: https://pdfium-review.googlesource.com/42490
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_helpers.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_helpers.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fpdfsdk/cpdfsdk_helpers.h b/fpdfsdk/cpdfsdk_helpers.h index 5de947afdf..3695bb1f5b 100644 --- a/fpdfsdk/cpdfsdk_helpers.h +++ b/fpdfsdk/cpdfsdk_helpers.h @@ -245,16 +245,16 @@ void FSDK_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable); FPDF_BOOL FSDK_IsSandBoxPolicyEnabled(FPDF_DWORD policy); // TODO(dsinclair): Where should this live? -void FPDF_RenderPage_Retail(CPDF_PageRenderContext* pContext, - FPDF_PAGE page, - int start_x, - int start_y, - int size_x, - int size_y, - int rotate, - int flags, - bool bNeedToRestore, - IPDFSDK_PauseAdapter* pause); +void RenderPageWithContext(CPDF_PageRenderContext* pContext, + FPDF_PAGE page, + int start_x, + int start_y, + int size_x, + int size_y, + int rotate, + int flags, + bool bNeedToRestore, + IPDFSDK_PauseAdapter* pause); void ReportUnsupportedFeatures(CPDF_Document* pDoc); void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); |