summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi/fpdf_render.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-20 09:35:06 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-20 09:35:06 -0800
commit7386e293a2b67794e6af02d0b71020a4bc987ce0 (patch)
tree03abdeac97118499ba28fab295b0a490b47b3b54 /core/include/fpdfapi/fpdf_render.h
parentaa28c814795edfdeb0654f16e77a54f65b7d42c2 (diff)
downloadpdfium-7386e293a2b67794e6af02d0b71020a4bc987ce0.tar.xz
Reduce diffs with master in core
This week's version. Mostly whitespace, but takes the master version of core/src/fxge/ge/fx_ge_text.cpp verbatim. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1462923004 .
Diffstat (limited to 'core/include/fpdfapi/fpdf_render.h')
-rw-r--r--core/include/fpdfapi/fpdf_render.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/include/fpdfapi/fpdf_render.h b/core/include/fpdfapi/fpdf_render.h
index 06f5dbef11..cdd7e38d65 100644
--- a/core/include/fpdfapi/fpdf_render.h
+++ b/core/include/fpdfapi/fpdf_render.h
@@ -137,11 +137,12 @@ class CPDF_ProgressiveRenderer {
// cannot #include that header. fpdfsdk/src/fpdf_progressive.cpp has
// static_asserts to make sure the two sets of values match.
enum Status {
- Ready, // FPDF_RENDER_READER,
- ToBeContinued, // FPDF_RENDER_TOBECOUNTINUED,
- Done, // FPDF_RENDER_DONE,
- Failed, // FPDF_RENDER_FAILED
+ Ready, // FPDF_RENDER_READER
+ ToBeContinued, // FPDF_RENDER_TOBECOUNTINUED
+ Done, // FPDF_RENDER_DONE
+ Failed // FPDF_RENDER_FAILED
};
+
static int ToFPDFStatus(Status status) { return static_cast<int>(status); }
CPDF_ProgressiveRenderer(CPDF_RenderContext* pContext,