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

Unified Diff: third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.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/GradientGeneratedImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h
index 59e149a941c4aec9aee4cf416d0ecbad3cc3974d..51aed632b40ccc18fedb166a79e4bb4d4885bfa3 100644
--- a/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h
+++ b/third_party/WebKit/Source/platform/graphics/GradientGeneratedImage.h
@@ -46,7 +46,7 @@ public:
bool applyShader(SkPaint&, const SkMatrix&) 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&) override;
GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size)

Powered by Google App Engine
This is Rietveld 408576698