From a6e2a4eca1be4daf14fae4e2427a6ca76269db43 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 30 Oct 2015 13:07:00 -0700 Subject: More chromium_code whack-a-mole. BUG=pdfium:29 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1419943006 . --- core/src/fxge/win32/fx_win32_gdipext.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'core/src/fxge/win32/fx_win32_gdipext.cpp') 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; -- cgit v1.2.3