From 7386e293a2b67794e6af02d0b71020a4bc987ce0 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 20 Nov 2015 09:35:06 -0800 Subject: 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 . --- core/include/fpdfapi/fpdf_render.h | 9 +++++---- core/include/fxcrt/fx_ext.h | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'core/include') 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(status); } CPDF_ProgressiveRenderer(CPDF_RenderContext* pContext, diff --git a/core/include/fxcrt/fx_ext.h b/core/include/fxcrt/fx_ext.h index d36ecfde4e..8530263a79 100644 --- a/core/include/fxcrt/fx_ext.h +++ b/core/include/fxcrt/fx_ext.h @@ -7,12 +7,12 @@ #ifndef CORE_INCLUDE_FXCRT_FX_EXT_H_ #define CORE_INCLUDE_FXCRT_FX_EXT_H_ -#include "fx_string.h" -#include "fx_system.h" - #include #include +#include "fx_string.h" +#include "fx_system.h" + FX_FLOAT FXSYS_tan(FX_FLOAT a); FX_FLOAT FXSYS_logb(FX_FLOAT b, FX_FLOAT x); FX_FLOAT FXSYS_strtof(const FX_CHAR* pcsStr, -- cgit v1.2.3