Move #defines and an enum out of cfx_renderdevice.h.
- Move the #defines into core/fxge/render_defines.h.
- Move enum FXPT_TYPE to core/fxge/cfx_pathdata.h, so it is next to the
struct that needs it.
- Remove cfx_renderdevice.h. from cfx_pathdata.h, and then do IWYU for
everything that fails to build.
Change-Id: I671d9daed1084d706efbac550578d95a9447b357
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/56631
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/core/fxge/cfx_pathdata.h b/core/fxge/cfx_pathdata.h
index 1a1d915..fcbcabf 100644
--- a/core/fxge/cfx_pathdata.h
+++ b/core/fxge/cfx_pathdata.h
@@ -11,7 +11,9 @@
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_system.h"
-#include "core/fxge/cfx_renderdevice.h"
+#include "core/fxcrt/retain_ptr.h"
+
+enum class FXPT_TYPE : uint8_t { LineTo, BezierTo, MoveTo };
class FX_PATHPOINT {
public: