Index: third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
index 4a63e6c31d68fba79b3b36469ea567e4532b7609..37b4c7cb830672eb8c92cf4ba97f52582f1a1a02 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp |
@@ -115,14 +115,15 @@ void StyleFetchedImageSet::RemoveClient(LayoutObject* layout_object) { |
best_fit_image_->RemoveObserver(layout_object); |
} |
-PassRefPtr<Image> StyleFetchedImageSet::GetImage(const LayoutObject&, |
- const IntSize& container_size, |
- float zoom) const { |
+PassRefPtr<Image> StyleFetchedImageSet::GetImage( |
+ const LayoutObject& obj, |
+ const IntSize& container_size) const { |
if (!best_fit_image_->GetImage()->IsSVGImage()) |
return best_fit_image_->GetImage(); |
return SVGImageForContainer::Create(ToSVGImage(best_fit_image_->GetImage()), |
- container_size, zoom, url_); |
+ container_size, |
+ obj.StyleRef().EffectiveZoom(), url_); |
} |
bool StyleFetchedImageSet::KnownToBeOpaque( |