From fe433f15d60f92ccde7a928160c2e7cc77dcb8bf Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 6 Jun 2016 12:03:31 -0700 Subject: Remove FDE_HDEVICESTATE. The value returned is always NULL and when passed as a param is never used. Review-Url: https://codereview.chromium.org/2044623002 --- xfa/fde/fde_gedevice.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'xfa/fde/fde_gedevice.h') diff --git a/xfa/fde/fde_gedevice.h b/xfa/fde/fde_gedevice.h index 872133c9c4..4f30bd57a4 100644 --- a/xfa/fde/fde_gedevice.h +++ b/xfa/fde/fde_gedevice.h @@ -10,8 +10,6 @@ #include "core/fxge/include/fx_ge.h" #include "xfa/fgas/crt/fgas_memory.h" -typedef struct FDE_HDEVICESTATE_ { void* pData; } * FDE_HDEVICESTATE; - class CFDE_Brush; class CFDE_Path; class CFDE_Pen; @@ -24,8 +22,8 @@ class CFDE_RenderDevice : public CFX_Target { int32_t GetWidth() const; int32_t GetHeight() const; - FDE_HDEVICESTATE SaveState(); - void RestoreState(FDE_HDEVICESTATE hState); + void SaveState(); + void RestoreState(); FX_BOOL SetClipPath(const CFDE_Path* pClip); CFDE_Path* GetClipPath() const; FX_BOOL SetClipRect(const CFX_RectF& rtClip); -- cgit v1.2.3