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

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

Issue 868743002: Use SkXfermode::Mode in code related to Image. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase to ToT Created 5 years, 11 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
« no previous file with comments | « Source/platform/graphics/CrossfadeGeneratedImage.cpp ('k') | Source/platform/graphics/GeneratedImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GeneratedImage.h
diff --git a/Source/platform/graphics/GeneratedImage.h b/Source/platform/graphics/GeneratedImage.h
index 31bed79b629184ef15e985b21407f7fc7bc09b1f..be2cf1d9005b56f4b5417f78e03bdbd509937662 100644
--- a/Source/platform/graphics/GeneratedImage.h
+++ b/Source/platform/graphics/GeneratedImage.h
@@ -48,9 +48,9 @@ public:
virtual void destroyDecodedData(bool) override { }
protected:
- virtual void drawPattern(GraphicsContext*, const FloatRect&,
- const FloatSize&, const FloatPoint&, CompositeOperator,
- const FloatRect&, WebBlendMode, const IntSize& repeatSpacing) final;
+ void drawPattern(GraphicsContext*, const FloatRect&,
+ const FloatSize&, const FloatPoint&, SkXfermode::Mode,
+ const FloatRect&, const IntSize& repeatSpacing) final;
// FIXME: Implement this to be less conservative.
virtual bool currentFrameKnownToBeOpaque() override { return false; }
« no previous file with comments | « Source/platform/graphics/CrossfadeGeneratedImage.cpp ('k') | Source/platform/graphics/GeneratedImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698