diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-08-30 17:11:19 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-31 01:15:56 +0000 |
commit | cc2b38d41141a939c7ef73c0066418b8d823c681 (patch) | |
tree | d35174ad9f3abea74c46a13dd76969cbd0f749dd /core/fxge/dib/cfx_imagestretcher.cpp | |
parent | 0158106c1c77c6af4f7195d086cb0f2d129de838 (diff) | |
download | pdfium-cc2b38d41141a939c7ef73c0066418b8d823c681.tar.xz |
Split IFX_Pause out of fx_basic
This CL moves IFX_Pause out to its own class from fx_basic and updates
includes as needed.
Change-Id: Iebdd183d8c85aa17570f190f1a7d1602c0af3c8b
Reviewed-on: https://pdfium-review.googlesource.com/12491
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxge/dib/cfx_imagestretcher.cpp')
-rw-r--r-- | core/fxge/dib/cfx_imagestretcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxge/dib/cfx_imagestretcher.cpp b/core/fxge/dib/cfx_imagestretcher.cpp index 3c0a065868..0b7c542b30 100644 --- a/core/fxge/dib/cfx_imagestretcher.cpp +++ b/core/fxge/dib/cfx_imagestretcher.cpp @@ -125,7 +125,7 @@ bool CFX_ImageStretcher::Start() { return StartStretch(); } -bool CFX_ImageStretcher::Continue(IFX_Pause* pPause) { +bool CFX_ImageStretcher::Continue(IFX_PauseIndicator* pPause) { if (m_Flags & FXDIB_DOWNSAMPLE) return ContinueQuickStretch(pPause); return ContinueStretch(pPause); @@ -143,7 +143,7 @@ bool CFX_ImageStretcher::StartStretch() { return true; } -bool CFX_ImageStretcher::ContinueStretch(IFX_Pause* pPause) { +bool CFX_ImageStretcher::ContinueStretch(IFX_PauseIndicator* pPause) { return m_pStretchEngine && m_pStretchEngine->Continue(pPause); } @@ -172,7 +172,7 @@ bool CFX_ImageStretcher::StartQuickStretch() { return true; } -bool CFX_ImageStretcher::ContinueQuickStretch(IFX_Pause* pPause) { +bool CFX_ImageStretcher::ContinueQuickStretch(IFX_PauseIndicator* pPause) { if (!m_pScanline) return false; |