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

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

Issue 2559013002: Add ColorBehavior to blink::Image draw methods (Closed)
Patch Set: Rebase Created 4 years 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/CrossfadeGeneratedImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h b/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h
index 2450090de42f8abc48f91933b47d87b35088f702..0d777aea649a59d2aede6e035dc7356ad576f2b4 100644
--- a/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h
+++ b/third_party/WebKit/Source/platform/graphics/CrossfadeGeneratedImage.h
@@ -57,7 +57,8 @@ class PLATFORM_EXPORT CrossfadeGeneratedImage final : public GeneratedImage {
const FloatRect&,
const FloatRect&,
RespectImageOrientationEnum,
- ImageClampingMode) override;
+ ImageClampingMode,
+ const ColorBehavior&) override;
void drawTile(GraphicsContext&, const FloatRect&) final;
CrossfadeGeneratedImage(PassRefPtr<Image> fromImage,
@@ -67,7 +68,10 @@ class PLATFORM_EXPORT CrossfadeGeneratedImage final : public GeneratedImage {
const IntSize&);
private:
- void drawCrossfade(SkCanvas*, const SkPaint&, ImageClampingMode);
+ void drawCrossfade(SkCanvas*,
+ const SkPaint&,
+ ImageClampingMode,
+ const ColorBehavior&);
RefPtr<Image> m_fromImage;
RefPtr<Image> m_toImage;

Powered by Google App Engine
This is Rietveld 408576698