diff options
author | Nico Weber <thakis@chromium.org> | 2015-10-30 13:07:00 -0700 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2015-10-30 13:07:00 -0700 |
commit | a6e2a4eca1be4daf14fae4e2427a6ca76269db43 (patch) | |
tree | eec7f3379736aac9afc9b0a387e04041b651b02e /core/src/fxge/win32/fx_win32_gdipext.cpp | |
parent | 0bafcbed84d2f1d7e17cd1adfd15a2a019756ee4 (diff) | |
download | pdfium-a6e2a4eca1be4daf14fae4e2427a6ca76269db43.tar.xz |
More chromium_code whack-a-mole.
BUG=pdfium:29
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1419943006 .
Diffstat (limited to 'core/src/fxge/win32/fx_win32_gdipext.cpp')
-rw-r--r-- | core/src/fxge/win32/fx_win32_gdipext.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/fxge/win32/fx_win32_gdipext.cpp b/core/src/fxge/win32/fx_win32_gdipext.cpp index 4beef9a177..2022a5f957 100644 --- a/core/src/fxge/win32/fx_win32_gdipext.cpp +++ b/core/src/fxge/win32/fx_win32_gdipext.cpp @@ -484,7 +484,6 @@ static CFX_DIBitmap* _StretchMonoToGray(int dest_width, int src_height = pSource->GetHeight(); int src_count = src_width * src_height; int dest_count = dest_width * dest_height; - int ratio = 255 * dest_count / src_count; int y_unit = src_height / dest_height; int x_unit = src_width / dest_width; int area_unit = y_unit * x_unit; |