| 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 9fa2e91df149896ab6476ec3769b336beae1a50a..39dc7a0175937fbc4dbff0020371585502d98236 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp
|
| @@ -95,11 +95,11 @@ FloatSize SVGImagePainter::computeImageViewportSize() const {
|
|
|
| ImageResource* 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 (i.e. concrete object size
|
| - // returned by the default sizing algorithm.) See
|
| - // https://www.w3.org/TR/SVG/single-page.html#coords-PreserveAspectRatioAttribute and
|
| - // https://drafts.csswg.org/css-images-3/#default-sizing.
|
| + // Images with preserveAspectRatio=none should force non-uniform scaling. This
|
| + // can be achieved by setting the image's container size to its viewport size
|
| + // (i.e. concrete object size returned by the default sizing algorithm.) See
|
| + // https://www.w3.org/TR/SVG/single-page.html#coords-PreserveAspectRatioAttribute
|
| + // and https://drafts.csswg.org/css-images-3/#default-sizing.
|
|
|
| // Avoid returning the size of the broken image.
|
| if (cachedImage->errorOccurred())
|
|
|