| 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 885451b206915c0d8fe1ec0d0933be10b8758546..51a5b41ec759a0b940149075486461a0d57d7238 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| @@ -91,10 +91,10 @@ FloatSize SVGImagePainter::computeImageViewportSize() const
|
| if (cachedImage->errorOccurred())
|
| return FloatSize();
|
|
|
| - if (cachedImage->image()->isSVGImage())
|
| - return toSVGImage(cachedImage->image())->concreteObjectSize(m_layoutSVGImage.objectBoundingBox().size());
|
| + if (cachedImage->getImage()->isSVGImage())
|
| + return toSVGImage(cachedImage->getImage())->concreteObjectSize(m_layoutSVGImage.objectBoundingBox().size());
|
|
|
| - return FloatSize(cachedImage->image()->size());
|
| + return FloatSize(cachedImage->getImage()->size());
|
| }
|
|
|
| } // namespace blink
|
|
|