Index: third_party/WebKit/Source/core/paint/BoxPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
index 3d6d0f913eb04a570f2d45cd7e6e13d36f321766..260b05be897476ce309a744febc22375ef171a1b 100644 |
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp |
@@ -138,7 +138,7 @@ bool BoxPainter::isFillLayerOpaque(const FillLayer& layer, const LayoutObject& i |
{ |
return layer.hasOpaqueImage(&imageClient) |
&& layer.image()->canRender() |
- && !layer.image()->imageSize(&imageClient, imageClient.style()->effectiveZoom()).isEmpty() |
+ && !layer.image()->defaultConcreteObjectSize(&imageClient, imageClient.style()->effectiveZoom()).isEmpty() |
&& layer.hasRepeatXY(); |
} |