changeset 13732:a410a39a544c

8147413: api/java_awt/Image/MultiResolutionImage/index.html\#MultiResolutionRenderingHints[test_VALUE_RESOLUTION_VARIANT_BASE] started to fail Reviewed-by: alexsch, flar
author jdv
date Tue, 02 Feb 2016 11:50:24 +0530
parents c047d37dd495
children b9f91de8ae43
files src/java.desktop/share/classes/sun/java2d/SunGraphics2D.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/sun/java2d/SunGraphics2D.java	Mon Feb 01 15:39:02 2016 +0530
+++ b/src/java.desktop/share/classes/sun/java2d/SunGraphics2D.java	Tue Feb 02 11:50:24 2016 +0530
@@ -3118,8 +3118,7 @@
                 invalidateTransform();
             }
             return result;
-        } else if (resolutionVariantHint != SunHints.INTVAL_RESOLUTION_VARIANT_BASE
-                   && (img instanceof MultiResolutionImage)) {
+        } else if (img instanceof MultiResolutionImage) {
             // get scaled destination image size
 
             int width = img.getWidth(observer);