diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-07-18 12:05:33 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-18 17:58:32 +0000 |
commit | 56725242559dd80e3b54fd9905c36bdeb696cdd9 (patch) | |
tree | 1b1b16b589da15e89f7b2489f972f7d359f7af6b | |
parent | c16df7fe3680cda24d3f981cf788c8c643a8a1e9 (diff) | |
download | pdfium-56725242559dd80e3b54fd9905c36bdeb696cdd9.tar.xz |
Fix CONTINUED spelling
This CL adds a FPDF_RENDER_TOBECONTINUED and marks
FPDF_RENDER_TOBECOUNTINUED as deprecated.
Change-Id: Ie08dbb2715d1d7959fbae17d9f23d7fcec410600
Reviewed-on: https://pdfium-review.googlesource.com/8070
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
-rw-r--r-- | core/fpdfapi/render/cpdf_progressiverenderer.h | 2 | ||||
-rw-r--r-- | fpdfsdk/fpdf_progressive.cpp | 2 | ||||
-rw-r--r-- | public/fpdf_progressive.h | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/core/fpdfapi/render/cpdf_progressiverenderer.h b/core/fpdfapi/render/cpdf_progressiverenderer.h index cadbd2d089..5e5b69e733 100644 --- a/core/fpdfapi/render/cpdf_progressiverenderer.h +++ b/core/fpdfapi/render/cpdf_progressiverenderer.h @@ -26,7 +26,7 @@ class CPDF_ProgressiveRenderer { // static_asserts to make sure the two sets of values match. enum Status { Ready, // FPDF_RENDER_READER - ToBeContinued, // FPDF_RENDER_TOBECOUNTINUED + ToBeContinued, // FPDF_RENDER_TOBECONTINUED Done, // FPDF_RENDER_DONE Failed // FPDF_RENDER_FAILED }; diff --git a/fpdfsdk/fpdf_progressive.cpp b/fpdfsdk/fpdf_progressive.cpp index 2d8f125128..d0075c9148 100644 --- a/fpdfsdk/fpdf_progressive.cpp +++ b/fpdfsdk/fpdf_progressive.cpp @@ -23,7 +23,7 @@ static_assert(CPDF_ProgressiveRenderer::Ready == FPDF_RENDER_READER, "CPDF_ProgressiveRenderer::Ready value mismatch"); static_assert(CPDF_ProgressiveRenderer::ToBeContinued == - FPDF_RENDER_TOBECOUNTINUED, + FPDF_RENDER_TOBECONTINUED, "CPDF_ProgressiveRenderer::ToBeContinued value mismatch"); static_assert(CPDF_ProgressiveRenderer::Done == FPDF_RENDER_DONE, "CPDF_ProgressiveRenderer::Done value mismatch"); diff --git a/public/fpdf_progressive.h b/public/fpdf_progressive.h index 0c3d501317..2cffacb8bd 100644 --- a/public/fpdf_progressive.h +++ b/public/fpdf_progressive.h @@ -12,7 +12,8 @@ // Flags for progressive process status. #define FPDF_RENDER_READER 0 -#define FPDF_RENDER_TOBECOUNTINUED 1 +#define FPDF_RENDER_TOBECONTINUED 1 +#define FPDF_RENDER_TOBECOUNTINUED 1 // Deprecated. #define FPDF_RENDER_DONE 2 #define FPDF_RENDER_FAILED 3 |