Index: third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
diff --git a/third_party/WebKit/Source/core/layout/ImageQualityController.cpp b/third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
index 517cd8e72af135007df6d2637effa82226c405bc..4dfce43336bd6ca0471c720c3283500980b01ea1 100644 |
--- a/third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
+++ b/third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
@@ -204,7 +204,7 @@ bool ImageQualityController::shouldPaintAtLowQuality(const LayoutObject& object, |
} |
} |
- if (layoutSize == image->size()) { |
+ if (layoutSize == image->defaultConcreteObjectSize()) { |
// 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); |
return false; |