diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-06 12:03:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-06 12:03:32 -0700 |
commit | fe433f15d60f92ccde7a928160c2e7cc77dcb8bf (patch) | |
tree | 6b3e8362ba26166c29441b2fc32817fe7d93f4c7 /xfa/fde/fde_gedevice.cpp | |
parent | 5a5f251ce8646ec421aa9e35d8bbca71a984770a (diff) | |
download | pdfium-fe433f15d60f92ccde7a928160c2e7cc77dcb8bf.tar.xz |
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
Diffstat (limited to 'xfa/fde/fde_gedevice.cpp')
-rw-r--r-- | xfa/fde/fde_gedevice.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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(), |