summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-05-18 14:28:49 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-18 18:48:28 +0000
commite6792f9901267b2b65611e94713462bc9d0b5191 (patch)
tree35a5066b00637ba959f7c378b00a6adbea8939ab
parent14aacd5825bcbeca10326f52612bbc2fdb298485 (diff)
downloadpdfium-e6792f9901267b2b65611e94713462bc9d0b5191.tar.xz
Fix typo in CFX_ImageTransformer::Continue
This CL fixes a typo introduced in: https://pdfium-review.googlesource.com/c/4495/3/core/fxge/dib/cfx_imagetransformer.cpp#395 Bug: chromium:723976 Change-Id: I629d1e61054805f768356fce44c25f40f9346beb Reviewed-on: https://pdfium-review.googlesource.com/5634 Reviewed-by: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
-rw-r--r--core/fxge/dib/cfx_imagetransformer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/dib/cfx_imagetransformer.cpp b/core/fxge/dib/cfx_imagetransformer.cpp
index 11f5f56ecb..6174a51c29 100644
--- a/core/fxge/dib/cfx_imagetransformer.cpp
+++ b/core/fxge/dib/cfx_imagetransformer.cpp
@@ -390,7 +390,7 @@ bool CFX_ImageTransformer::Continue(IFX_Pause* pPause) {
}
if (m_Storer.GetBitmap()->IsAlphaMask()) {
if (!(m_Flags & FXDIB_DOWNSAMPLE) && !(m_Flags & FXDIB_BICUBIC_INTERPOL)) {
- CFX_BilinearMatrix result2stretch_fix(result2stretch, 16);
+ CFX_BilinearMatrix result2stretch_fix(result2stretch, 8);
for (int row = 0; row < m_result.Height(); row++) {
uint8_t* dest_scan = (uint8_t*)pTransformed->GetScanline(row);
for (int col = 0; col < m_result.Width(); col++) {