Index: third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
index d68dec20f80a213559d5040119db9344b6d48caf..b4519adc77e16b27ebd8c2d82fc03c14b9fd39ed 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
@@ -92,7 +92,8 @@ FloatSize SVGImagePainter::computeImageViewportSize() const { |
->align() != SVGPreserveAspectRatio::kSvgPreserveaspectratioNone) |
return m_layoutSVGImage.objectBoundingBox().size(); |
- ImageResource* cachedImage = m_layoutSVGImage.imageResource()->cachedImage(); |
+ ImageResourceContent* cachedImage = |
+ m_layoutSVGImage.imageResource()->cachedImage(); |
// Images with preserveAspectRatio=none should force non-uniform scaling. This |
// can be achieved by setting the image's container size to its viewport size |