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.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xfa/fde/fde_gedevice.cpp') diff --git a/xfa/fde/fde_gedevice.cpp b/xfa/fde/fde_gedevice.cpp index 8370b2fbef..005387f83a 100644 --- a/xfa/fde/fde_gedevice.cpp +++ b/xfa/fde/fde_gedevice.cpp @@ -36,11 +36,10 @@ int32_t CFDE_RenderDevice::GetWidth() const { int32_t CFDE_RenderDevice::GetHeight() const { return m_pDevice->GetHeight(); } -FDE_HDEVICESTATE CFDE_RenderDevice::SaveState() { +void CFDE_RenderDevice::SaveState() { m_pDevice->SaveState(); - return NULL; } -void CFDE_RenderDevice::RestoreState(FDE_HDEVICESTATE hState) { +void CFDE_RenderDevice::RestoreState() { m_pDevice->RestoreState(false); const FX_RECT& rt = m_pDevice->GetClipBox(); m_rtClip.Set((FX_FLOAT)rt.left, (FX_FLOAT)rt.top, (FX_FLOAT)rt.Width(), -- cgit v1.2.3