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 1270cb4b01027299178e1b5a95df7cb61d2f5b6e..e118d126d9a5c90a8f76791d3b56e613b3648bfb 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGImagePainter.cpp |
@@ -84,10 +84,9 @@ FloatSize SVGImagePainter::computeImageViewportSize() const |
// scaling. This can be achieved by setting the image's container size to |
// its viewport size (i.e. if a viewBox is available - use that - else use intrinsic size.) |
// See: http://www.w3.org/TR/SVG/single-page.html, 7.8 The 'preserveAspectRatio' attribute. |
- Length intrinsicWidth; |
- Length intrinsicHeight; |
+ FloatSize intrinsicSize; |
FloatSize intrinsicRatio; |
- cachedImage->computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight, intrinsicRatio); |
+ cachedImage->computeIntrinsicDimensions(intrinsicSize, intrinsicRatio); |
return intrinsicRatio; |
} |