Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: src/core/SkBitmapProcState.cpp

Issue 323093002: Remove SK_IGNORE_CORRECT_HIGH_QUALITY_IMAGE_SCALE (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBitmapProcState.cpp
diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp
index 166b62c48cf40a2da9829b717db3fbcbadd1993b..f6f9f3fa06c20c025993f47ab2d071843ea7fb2f 100644
--- a/src/core/SkBitmapProcState.cpp
+++ b/src/core/SkBitmapProcState.cpp
@@ -170,11 +170,6 @@ bool SkBitmapProcState::possiblyScaleImage() {
float dest_width = fOrigBitmap.width() / invScaleX;
float dest_height = fOrigBitmap.height() / invScaleY;
-#ifdef SK_IGNORE_CORRECT_HIGH_QUALITY_IMAGE_SCALE
- dest_width = SkScalarCeilToScalar(dest_width);
- dest_height = SkScalarCeilToScalar(dest_height);
-#endif
-
// All the criteria are met; let's make a new bitmap.
SkConvolutionProcs simd;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698