summaryrefslogtreecommitdiff
path: root/core/src/fxge
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-11-04 14:25:04 -0800
committerOliver Chang <ochang@chromium.org>2015-11-04 14:25:04 -0800
commit9e48432750f7d86a43c3d10f47a057f8360f7619 (patch)
tree5d439e0ea3af2a142e00b3d3c11c3bba3288a0ac /core/src/fxge
parent4f85605cbc652a17bc833f883186e0a68af6006d (diff)
downloadpdfium-9e48432750f7d86a43c3d10f47a057f8360f7619.tar.xz
Remove unused variables in Transform1bppBitmap.
Patch by rickyz@chromium.org R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1432703002 .
Diffstat (limited to 'core/src/fxge')
-rw-r--r--core/src/fxge/win32/fx_win32_print.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/fxge/win32/fx_win32_print.cpp b/core/src/fxge/win32/fx_win32_print.cpp
index 0f75d493a4..595d1e9494 100644
--- a/core/src/fxge/win32/fx_win32_print.cpp
+++ b/core/src/fxge/win32/fx_win32_print.cpp
@@ -136,8 +136,6 @@ static CFX_DIBitmap* Transform1bppBitmap(const CFX_DIBSource* pSrc,
ASSERT(pSrc->GetFormat() == FXDIB_1bppRgb ||
pSrc->GetFormat() == FXDIB_1bppMask ||
pSrc->GetFormat() == FXDIB_1bppCmyk);
- CFX_FloatRect unit_rect = pDestMatrix->GetUnitRect();
- FX_RECT full_rect = unit_rect.GetOutterRect();
CFX_DIBExtractor src_bitmap(pSrc);
CFX_DIBitmap* pSrcBitmap = src_bitmap;
if (pSrcBitmap == NULL) {