diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-07-24 09:16:19 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-24 14:35:12 +0000 |
commit | 72cc6c69b65b20c007032148c909c75cf1ae6564 (patch) | |
tree | 887aa7bde2885dce3bc8d205e5a609c57047f2aa /fpdfsdk | |
parent | 6b0158fdc229e7fc45fdb61c700b709bd82b2309 (diff) | |
download | pdfium-72cc6c69b65b20c007032148c909c75cf1ae6564.tar.xz |
Deprecated FPDF_RENDER_READER in favour of FPDF_RENDER_READY
The use of Ready makes more sense then Reader for the constants. Rename
and deprecate the old one.
Bug: pdfium:830
Change-Id: I80b970f29a21068b41993c1880d81d406c3108e0
Reviewed-on: https://pdfium-review.googlesource.com/8790
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/fpdf_progressive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/fpdf_progressive.cpp b/fpdfsdk/fpdf_progressive.cpp index abddcd43ad..1b10a119dc 100644 --- a/fpdfsdk/fpdf_progressive.cpp +++ b/fpdfsdk/fpdf_progressive.cpp @@ -20,7 +20,7 @@ #include "third_party/base/ptr_util.h" // These checks are here because core/ and public/ cannot depend on each other. -static_assert(CPDF_ProgressiveRenderer::Ready == FPDF_RENDER_READER, +static_assert(CPDF_ProgressiveRenderer::Ready == FPDF_RENDER_READY, "CPDF_ProgressiveRenderer::Ready value mismatch"); static_assert(CPDF_ProgressiveRenderer::ToBeContinued == FPDF_RENDER_TOBECONTINUED, |