Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImageSet.h

Issue 2847303002: Remove unnecessary zoom argument from GetImage() as its value is always available through the Layou… (Closed)
Patch Set: (rebased) Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
index ffeec40526c03ef264c3fe23f481681912849fc1..7f44dc36744eaf2d86764da9890474952a358910 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
@@ -69,8 +69,7 @@ class StyleFetchedImageSet final : public StyleImage,
void AddClient(LayoutObject*) override;
void RemoveClient(LayoutObject*) override;
PassRefPtr<Image> GetImage(const LayoutObject&,
- const IntSize&,
- float) const override;
+ const IntSize&) const override;
float ImageScaleFactor() const override { return image_scale_factor_; }
bool KnownToBeOpaque(const LayoutObject&) const override;
ImageResourceContent* CachedImage() const override;

Powered by Google App Engine
This is Rietveld 408576698