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

Unified Diff: Source/platform/graphics/GradientGeneratedImage.h

Issue 1093673002: Removing the dependency on GraphicsContext for drawing images in 2D canvas (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: apllied senorblanco feedback Created 5 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: Source/platform/graphics/GradientGeneratedImage.h
diff --git a/Source/platform/graphics/GradientGeneratedImage.h b/Source/platform/graphics/GradientGeneratedImage.h
index 82bd42e14d231ce8615cdd15c2b8e6d19b2b91f7..220a602ebb47307d3eac98516ee3e57479bc4fa3 100644
--- a/Source/platform/graphics/GradientGeneratedImage.h
+++ b/Source/platform/graphics/GradientGeneratedImage.h
@@ -47,9 +47,8 @@ public:
}
protected:
- void draw(GraphicsContext*, const FloatRect&, const FloatRect&,
- SkXfermode::Mode, RespectImageOrientationEnum) override;
- virtual void drawTile(GraphicsContext*, const FloatRect&) final;
+ void draw(SkCanvas*, const SkPaint&, const FloatRect&, const FloatRect&, RespectImageOrientationEnum, bool shouldClampToSourceRect) override;
+ void drawTile(GraphicsContext*, const FloatRect&) final;
GradientGeneratedImage(PassRefPtr<Gradient> generator, const IntSize& size)
: GeneratedImage(size)

Powered by Google App Engine
This is Rietveld 408576698