diff options
-rw-r--r-- | public/fpdf_progressive.h | 2 | ||||
-rw-r--r-- | samples/pdfium_test.cc | 2 |
2 files changed, 1 insertions, 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); } |