From 939426c5cdcbc93f9f197b159133a3b4d735dcb0 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 10 Aug 2018 16:32:43 +0000 Subject: Remove deprecated flags from fpdf_progressive.h. Change-Id: I4fac8d0c9a21f4e8703a43afd2864f84f6228319 Reviewed-on: https://pdfium-review.googlesource.com/39834 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- public/fpdf_progressive.h | 2 -- samples/pdfium_test.cc | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/public/fpdf_progressive.h b/public/fpdf_progressive.h index 3f0ae293a8..1d7495aa7c 100644 --- a/public/fpdf_progressive.h +++ b/public/fpdf_progressive.h @@ -12,9 +12,7 @@ // Flags for progressive process status. #define FPDF_RENDER_READY 0 -#define FPDF_RENDER_READER 0 // Deprecated #define FPDF_RENDER_TOBECONTINUED 1 -#define FPDF_RENDER_TOBECOUNTINUED 1 // Deprecated. #define FPDF_RENDER_DONE 2 #define FPDF_RENDER_FAILED 3 diff --git a/samples/pdfium_test.cc b/samples/pdfium_test.cc index d2e84872d6..14a62a4bc4 100644 --- a/samples/pdfium_test.cc +++ b/samples/pdfium_test.cc @@ -552,7 +552,7 @@ bool RenderPage(const std::string& name, int rv = FPDF_RenderPageBitmap_Start(bitmap.get(), page, 0, 0, width, height, 0, FPDF_ANNOT, &pause); - while (rv == FPDF_RENDER_TOBECOUNTINUED) + while (rv == FPDF_RENDER_TOBECONTINUED) rv = FPDF_RenderPage_Continue(page, &pause); } -- cgit v1.2.3