diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-10 16:32:43 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-10 16:32:43 +0000 |
commit | 939426c5cdcbc93f9f197b159133a3b4d735dcb0 (patch) | |
tree | c07c38b2d9b9f99bb69f84bb9510da8817f1fa40 | |
parent | e1a7e8589a8cb4fc8a8052819742bdb0bac91a52 (diff) | |
download | pdfium-939426c5cdcbc93f9f197b159133a3b4d735dcb0.tar.xz |
Remove deprecated flags from fpdf_progressive.h.
Change-Id: I4fac8d0c9a21f4e8703a43afd2864f84f6228319
Reviewed-on: https://pdfium-review.googlesource.com/39834
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
-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); } |