diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-05-04 12:09:52 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-04 16:24:55 +0000 |
commit | df673c28191cca181ef526d02f24b4a7a6f5e200 (patch) | |
tree | 8fe9304aa58e3c0045bba5140f6b6fbb322d7ea7 /xfa/fxfa/cxfa_ffwidget.cpp | |
parent | c5fc83c50dee0968bd3c16e69ca84300531c6391 (diff) | |
download | pdfium-df673c28191cca181ef526d02f24b4a7a6f5e200.tar.xz |
Cleanup more null IFX_Pause parameters
This Cl cleans up more IFX_Pause parameters which are always null.
Change-Id: Ia48600f06216db64a2db8e6e97222a91bd4ba149
Reviewed-on: https://pdfium-review.googlesource.com/4890
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffwidget.cpp')
-rw-r--r-- | xfa/fxfa/cxfa_ffwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/fxfa/cxfa_ffwidget.cpp b/xfa/fxfa/cxfa_ffwidget.cpp index b74e1dcaf7..69aabe38be 100644 --- a/xfa/fxfa/cxfa_ffwidget.cpp +++ b/xfa/fxfa/cxfa_ffwidget.cpp @@ -568,7 +568,7 @@ class CXFA_ImageRenderer { const CFX_Matrix* pImage2Device, uint32_t flags, int blendType = FXDIB_BLEND_NORMAL); - bool Continue(IFX_Pause* pPause); + bool Continue(); protected: bool StartDIBSource(); @@ -709,9 +709,9 @@ bool CXFA_ImageRenderer::StartDIBSource() { return false; } -bool CXFA_ImageRenderer::Continue(IFX_Pause* pPause) { +bool CXFA_ImageRenderer::Continue() { if (m_Status == 2) { - if (m_pTransformer->Continue(pPause)) + if (m_pTransformer->Continue(nullptr)) return true; CFX_RetainPtr<CFX_DIBitmap> pBitmap = m_pTransformer->DetachBitmap(); @@ -734,7 +734,7 @@ bool CXFA_ImageRenderer::Continue(IFX_Pause* pPause) { return false; } if (m_Status == 3) - return m_pDevice->ContinueDIBits(m_DeviceHandle.get(), pPause); + return m_pDevice->ContinueDIBits(m_DeviceHandle.get(), nullptr); return false; } @@ -828,7 +828,7 @@ void CXFA_ImageRenderer::CompositeDIBitmap( &m_ImageMatrix, m_Flags)) { return; } - while (imageRender.Continue(nullptr)) + while (imageRender.Continue()) continue; } @@ -901,7 +901,7 @@ void XFA_DrawImage(CFX_Graphics* pGS, FXDIB_INTERPOL)) { return; } - while (imageRender.Continue(nullptr)) + while (imageRender.Continue()) continue; } |