Index: xfa/fde/fde_gedevice.cpp |
diff --git a/xfa/fde/fde_gedevice.cpp b/xfa/fde/fde_gedevice.cpp |
index 9c6cde3dbe89e19c9c8d2fa32d4efa2adbb57ca9..b6cccc5e01891d190e7a16961be737ed7effa137 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(), |