From c7cd809fccd7c5f90c8a2db7ddec7289f9630f53 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 18 Feb 2016 15:02:55 -0500 Subject: Fixup incorrect include guards. This CL updates include guards throughout the code base to be in the chromium style. BUG=pdfium:65 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1707893004 . --- xfa/src/fxgraphics/src/fx_path_generator.h | 7 ++++--- xfa/src/fxgraphics/src/pre.h | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'xfa/src/fxgraphics') diff --git a/xfa/src/fxgraphics/src/fx_path_generator.h b/xfa/src/fxgraphics/src/fx_path_generator.h index af6181683c..76e416fd55 100644 --- a/xfa/src/fxgraphics/src/fx_path_generator.h +++ b/xfa/src/fxgraphics/src/fx_path_generator.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef __H_FX_PATH_GENERATOR__ -#define __H_FX_PATH_GENERATOR__ +#ifndef XFA_SRC_FXGRAPHICS_SRC_FX_PATH_GENERATOR_H_ +#define XFA_SRC_FXGRAPHICS_SRC_FX_PATH_GENERATOR_H_ #include "core/include/fxge/fx_ge.h" @@ -60,4 +60,5 @@ class CFX_PathGenerator { protected: CFX_PathData* m_pPathData; }; -#endif + +#endif // XFA_SRC_FXGRAPHICS_SRC_FX_PATH_GENERATOR_H_ diff --git a/xfa/src/fxgraphics/src/pre.h b/xfa/src/fxgraphics/src/pre.h index 3cd692e9e2..7341aa7e5c 100644 --- a/xfa/src/fxgraphics/src/pre.h +++ b/xfa/src/fxgraphics/src/pre.h @@ -4,6 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#ifndef XFA_SRC_FXGRAPHICS_SRC_PRE_H_ +#define XFA_SRC_FXGRAPHICS_SRC_PRE_H_ + #include "xfa/src/foxitlib.h" #ifndef FXSYS_Mul #define FXSYS_Mul(a, b) ((a) * (b)) @@ -583,3 +586,5 @@ static const FX_HATCHDATA hatchBitmapData[FX_HATCHSTYLE_Total] = { printf("duration is %f millisecond\n", duration * 1000); #else #endif + +#endif // XFA_SRC_FXGRAPHICS_SRC_PRE_H_ -- cgit v1.2.3