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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.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/StyleFetchedImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.h b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
index 7175f21f4ca1bdb9539fe6e1549a3f9590f36000..201225fad54ed77c5082457cb3fba5a93532d825 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
@@ -62,8 +62,7 @@ class StyleFetchedImage final : public StyleImage,
void ImageNotifyFinished(ImageResourceContent*) override;
String DebugName() const override { return "StyleFetchedImage"; }
PassRefPtr<Image> GetImage(const LayoutObject&,
- const IntSize&,
- float zoom) const override;
+ const IntSize&) const override;
bool KnownToBeOpaque(const LayoutObject&) const override;
ImageResourceContent* CachedImage() const override;
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGImagePainter.cpp ('k') | third_party/WebKit/Source/core/style/StyleFetchedImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698