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

Unified Diff: sky/engine/core/painting/Paint.idl

Issue 1143133007: Revert "Add a Color class to dart:sky." (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: 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/Paint.h ('k') | sky/engine/core/script/dom_dart_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Paint.idl
diff --git a/sky/engine/core/painting/Paint.idl b/sky/engine/core/painting/Paint.idl
index 8d1b45940297ddf8cc440109d52734b9726880a8..d2ef2ddb327771ce7c991e31ba8a65cbeac982b7 100644
--- a/sky/engine/core/painting/Paint.idl
+++ b/sky/engine/core/painting/Paint.idl
@@ -6,9 +6,8 @@
Constructor(),
] interface Paint {
attribute boolean isAntiAlias;
- attribute Color color;
+ attribute unsigned long color;
- // TODO(mpcomplete): remove this in favor of assigning to |color|.
void setARGB(unsigned long a, unsigned long r, unsigned long g, unsigned long b);
void setDrawLooper(DrawLooper looper);
void setColorFilter(ColorFilter filter);
« no previous file with comments | « sky/engine/core/painting/Paint.h ('k') | sky/engine/core/script/dom_dart_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698