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

Unified Diff: third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.h

Issue 2157953002: Change filter quality when scaling-down in drawImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/platform/graphics/PaintGeneratedImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.h b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.h
index 58f55fd42b5edd82e6eee03ba7c7caeefa3d31d4..7a17ae334f38f707e4bf5e4d4029524c19ef6852 100644
--- a/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.h
+++ b/third_party/WebKit/Source/platform/graphics/PaintGeneratedImage.h
@@ -21,7 +21,7 @@ public:
~PaintGeneratedImage() override { }
protected:
- void draw(SkCanvas*, const SkPaint&, const FloatRect&, const FloatRect&, RespectImageOrientationEnum, ImageClampingMode) override;
+ void draw(SkCanvas*, const SkPaint&, const FloatRect&, const FloatRect&, bool imageSmoothingEnabled, RespectImageOrientationEnum, ImageClampingMode) override;
void drawTile(GraphicsContext&, const FloatRect&) final;
PaintGeneratedImage(PassRefPtr<SkPicture> picture, const IntSize& size)

Powered by Google App Engine
This is Rietveld 408576698