Index: Source/core/rendering/ImageQualityController.cpp |
diff --git a/Source/core/rendering/ImageQualityController.cpp b/Source/core/rendering/ImageQualityController.cpp |
index e69b1cffc935013a5d022b9d32478f507d8a6fff..fcd078ce778f126dd1e66535ab763570a8b73a05 100644 |
--- a/Source/core/rendering/ImageQualityController.cpp |
+++ b/Source/core/rendering/ImageQualityController.cpp |
@@ -189,6 +189,9 @@ bool ImageQualityController::shouldPaintAtLowQuality(GraphicsContext* context, R |
} |
} |
+ // See crbug.com/382491. This test is insufficient to ensure that there is no scale |
+ // applied in the compositor, but it is probably adequate here. In the worst case we |
+ // draw at high quality when we need not. |
if (!contextIsScaled && scaledLayoutSize == scaledImageSize) { |
// There is no scale in effect. If we had a scale in effect before, we can just remove this object from the list. |
removeLayer(object, innerMap, layer); |