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

Unified Diff: sky/engine/core/painting/ColorFilter.h

Issue 1162393002: Simplify TransferMode and Color types. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: format 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
« no previous file with comments | « sky/engine/core/painting/CanvasColor.cpp ('k') | sky/engine/core/painting/ColorFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/ColorFilter.h
diff --git a/sky/engine/core/painting/ColorFilter.h b/sky/engine/core/painting/ColorFilter.h
index 5b879ee027eb13af7b8b6c28c5db772663657313..eab966388efa777acee7122c4ac0f5067fd702de 100644
--- a/sky/engine/core/painting/ColorFilter.h
+++ b/sky/engine/core/painting/ColorFilter.h
@@ -18,8 +18,8 @@ class ColorFilter : public RefCounted<ColorFilter>, public DartWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
~ColorFilter() override;
- static PassRefPtr<ColorFilter> create(CanvasColor color,
- TransferMode transfer_mode);
+ static PassRefPtr<ColorFilter> create(SkColor color,
+ SkXfermode::Mode transfer_mode);
SkColorFilter* filter() { return filter_.get(); }
« no previous file with comments | « sky/engine/core/painting/CanvasColor.cpp ('k') | sky/engine/core/painting/ColorFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698