diff options
author | Lei Zhang <thestig@chromium.org> | 2015-11-09 13:57:49 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-11-09 13:57:49 -0800 |
commit | a688a049e516a050bc3dc473910096f255552386 (patch) | |
tree | a7b62d06fd114114fd23566ed7e9a4d66e6e1e1c /xfa/include/fxgraphics | |
parent | 70f6683fa6ed90e22158824d7d792fcee68ee3b5 (diff) | |
download | pdfium-a688a049e516a050bc3dc473910096f255552386.tar.xz |
Merge to XFA: Fix all relative includes to core.
Do some IWYU to fix build errors due to files that have no #includes but
just happened to work previously because the #includes were in the right
order.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1407423004 .
(cherry picked from commit 9e7cd8ffb81c564e1102f6c6459ec0942a0b11ea)
Review URL: https://codereview.chromium.org/1425163004 .
Diffstat (limited to 'xfa/include/fxgraphics')
-rw-r--r-- | xfa/include/fxgraphics/fx_graphics.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xfa/include/fxgraphics/fx_graphics.h b/xfa/include/fxgraphics/fx_graphics.h index d65918ec2c..fb18dcebe9 100644 --- a/xfa/include/fxgraphics/fx_graphics.h +++ b/xfa/include/fxgraphics/fx_graphics.h @@ -4,8 +4,10 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef __H_FX_GRAPHICS__
-#define __H_FX_GRAPHICS__
+#ifndef XFA_INCLUDE_FXGRAPHICS_FX_GRAPHICS_H_
+#define XFA_INCLUDE_FXGRAPHICS_FX_GRAPHICS_H_
+
+#include "core/include/fpdfapi/fpdf_pageobj.h"
typedef int FX_ERR;
#define FX_ERR_Succeeded 0
@@ -496,4 +498,5 @@ class CFX_Shading { FX_ARGB _argbArray[FX_SHADING_Steps];
friend class CFX_Graphics;
};
-#endif
+
+#endif // XFA_INCLUDE_FXGRAPHICS_FX_GRAPHICS_H_
|