Index: third_party/WebKit/Source/platform/graphics/Image.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp |
index 48e20cfed1c8d568a510f6264f95fbe33702dda0..5ab1d6f47e714896ef405937e8ceda2110650766 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Image.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/Image.cpp |
@@ -259,11 +259,9 @@ void Image::drawPattern(GraphicsContext& context, const FloatRect& floatSrcRect, |
PlatformInstrumentation::didDrawLazyPixelRef(imageID); |
} |
-void Image::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) |
+void Image::computeIntrinsicDimensions(FloatSize& intrinsicSize, FloatSize& intrinsicRatio) |
{ |
- intrinsicRatio = FloatSize(size()); |
- intrinsicWidth = Length(intrinsicRatio.width(), Fixed); |
- intrinsicHeight = Length(intrinsicRatio.height(), Fixed); |
+ intrinsicSize = intrinsicRatio = FloatSize(size()); |
} |
PassRefPtr<Image> Image::imageForDefaultFrame() |