Index: third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp |
index 435b937aefae67419ea36cdd3d31aec4ecebd71e..80374c8496dda6159581c5613e14ed507f63dc1c 100644 |
--- a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp |
@@ -57,14 +57,6 @@ LayoutSize StyleGeneratedImage::imageSize(const LayoutObject* layoutObject, floa |
return defaultObjectSize; |
} |
-void StyleGeneratedImage::computeIntrinsicDimensions(const LayoutObject* layoutObject, FloatSize& intrinsicSize, FloatSize& intrinsicRatio) |
-{ |
- // At a zoom level of 1 the image is guaranteed to have an integer size. |
- LayoutSize size = imageSize(layoutObject, 1, LayoutSize()); |
- ASSERT(size.fraction().isZero()); |
- intrinsicSize = intrinsicRatio = FloatSize(size); |
-} |
- |
void StyleGeneratedImage::addClient(LayoutObject* layoutObject) |
{ |
m_imageGeneratorValue->addClient(layoutObject, IntSize()); |