Index: Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp |
diff --git a/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp b/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp |
index 35a77bf0a20a4603eb7e1602862fe2111cb2b07b..761d2cdf72e77063f049ff18536387ca06116461 100644 |
--- a/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp |
+++ b/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp |
@@ -74,19 +74,9 @@ inline J_COLOR_SPACE rgbOutputColorSpace() { return JCS_RGB; } |
inline bool colorSpaceHasAlpha(J_COLOR_SPACE) { return false; } |
#endif |
-#if USE(LOW_QUALITY_IMAGE_NO_JPEG_DITHERING) |
-inline J_DCT_METHOD dctMethod() { return JDCT_IFAST; } |
-inline J_DITHER_MODE ditherMode() { return JDITHER_NONE; } |
-#else |
inline J_DCT_METHOD dctMethod() { return JDCT_ISLOW; } |
inline J_DITHER_MODE ditherMode() { return JDITHER_FS; } |
-#endif |
- |
-#if USE(LOW_QUALITY_IMAGE_NO_JPEG_FANCY_UPSAMPLING) |
-inline bool doFancyUpsampling() { return false; } |
-#else |
inline bool doFancyUpsampling() { return true; } |
-#endif |
namespace { |