Index: third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
index ba4ade78b4f5780c0128301f1d101229d74bf573..814dfe176b5263e7350657afab576dc28531c777 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
@@ -117,14 +117,15 @@ void StyleFetchedImage::ImageNotifyFinished(ImageResourceContent*) { |
document_.Clear(); |
} |
-PassRefPtr<Image> StyleFetchedImage::GetImage(const LayoutObject&, |
- const IntSize& container_size, |
- float zoom) const { |
+PassRefPtr<Image> StyleFetchedImage::GetImage( |
+ const LayoutObject& obj, |
+ const IntSize& container_size) const { |
if (!image_->GetImage()->IsSVGImage()) |
return image_->GetImage(); |
return SVGImageForContainer::Create(ToSVGImage(image_->GetImage()), |
- container_size, zoom, url_); |
+ container_size, |
+ obj.StyleRef().EffectiveZoom(), url_); |
} |
bool StyleFetchedImage::KnownToBeOpaque( |