| 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 e60609d73bfcc3dc5def595227820249b314ae98..36b24fcfc8398799c4bde5747ac05a6009ddd855 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| @@ -74,7 +74,7 @@ FloatSize SVGImagePainter::computeImageViewportSize() const
|
| {
|
| ASSERT(m_layoutSVGImage.imageResource()->hasImage());
|
|
|
| - if (toSVGImageElement(m_layoutSVGImage.element())->preserveAspectRatio()->currentValue()->align() != SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_NONE)
|
| + if (toSVGImageElement(m_layoutSVGImage.element())->preserveAspectRatio()->currentValue()->align() != SVGPreserveAspectRatio::kSvgPreserveaspectratioNone)
|
| return m_layoutSVGImage.objectBoundingBox().size();
|
|
|
| ImageResource* cachedImage = m_layoutSVGImage.imageResource()->cachedImage();
|
|
|