summaryrefslogtreecommitdiff
path: root/core/fxge/dib/cstretchengine.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-04 16:54:35 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-05 19:26:55 +0000
commitc2bf27fff9e2316b9daee92266e70eac3ef5979b (patch)
tree36eb4c8962ed92a8b5fa257adba4be1ef7144c8c /core/fxge/dib/cstretchengine.cpp
parent4c64450875263a1f48e84f6d2223d8c36484f7cf (diff)
downloadpdfium-c2bf27fff9e2316b9daee92266e70eac3ef5979b.tar.xz
More unused IFX_Pause parameters removedchromium/3091
Remove IFX_Pause parameters which are passed but not used. Change-Id: I51a491c7f9a429676d114a387390fac3ae65e187 Reviewed-on: https://pdfium-review.googlesource.com/4950 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/dib/cstretchengine.cpp')
-rw-r--r--core/fxge/dib/cstretchengine.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/fxge/dib/cstretchengine.cpp b/core/fxge/dib/cstretchengine.cpp
index 0025331486..9fdaa02f95 100644
--- a/core/fxge/dib/cstretchengine.cpp
+++ b/core/fxge/dib/cstretchengine.cpp
@@ -357,9 +357,9 @@ CStretchEngine::~CStretchEngine() {
bool CStretchEngine::Continue(IFX_Pause* pPause) {
while (m_State == 1) {
- if (ContinueStretchHorz(pPause)) {
+ if (ContinueStretchHorz(pPause))
return true;
- }
+
m_State = 2;
StretchVert();
}
@@ -401,7 +401,6 @@ bool CStretchEngine::StartStretchHorz() {
bool CStretchEngine::ContinueStretchHorz(IFX_Pause* pPause) {
if (!m_DestWidth)
return false;
-
if (m_pSource->SkipToScanline(m_CurRow, pPause))
return true;